aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cassettes/test_id_hook.yaml')
-rw-r--r--tests/cassettes/test_id_hook.yaml22
1 files changed, 11 insertions, 11 deletions
diff --git a/tests/cassettes/test_id_hook.yaml b/tests/cassettes/test_id_hook.yaml
index 6420e09..a731022 100644
--- a/tests/cassettes/test_id_hook.yaml
+++ b/tests/cassettes/test_id_hook.yaml
@@ -12,8 +12,8 @@ interactions:
12 method: POST 12 method: POST
13 uri: http://localhost:3000/api/v1/statuses 13 uri: http://localhost:3000/api/v1/statuses
14 response: 14 response:
15 body: {string: '{"id":"102317290444458764","created_at":"2019-06-22T21:12:32.344Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost/users/mastodonpy_test/statuses/102317290444458764","url":"http://localhost/@mastodonpy_test/102317290444458764","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"content":"\u003cp\u003eToot!\u003c/p\u003e","reblog":null,"application":{"name":"Mastodon.py 15 body: {string: '{"id":"102945949481758908","created_at":"2019-10-11T21:48:47.990Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost/users/mastodonpy_test/statuses/102945949481758908","url":"http://localhost/@mastodonpy_test/102945949481758908","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"content":"\u003cp\u003eToot!\u003c/p\u003e","reblog":null,"application":{"name":"Mastodon.py
16 test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"","locked":false,"bot":false,"created_at":"2019-06-22T23:11:52.441Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/avatars/original/missing.png","avatar_static":"http://localhost/avatars/original/missing.png","header":"http://localhost/headers/original/missing.png","header_static":"http://localhost/headers/original/missing.png","followers_count":0,"following_count":1,"statuses_count":1,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'} 16 test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"","locked":false,"bot":false,"created_at":"2019-06-22T23:11:52.441Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/avatars/original/missing.png","avatar_static":"http://localhost/avatars/original/missing.png","header":"http://localhost/headers/original/missing.png","header_static":"http://localhost/headers/original/missing.png","followers_count":0,"following_count":1,"statuses_count":2,"last_status_at":"2019-10-11T21:48:47.998Z","emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'}
17 headers: 17 headers:
18 Cache-Control: ['no-cache, no-store'] 18 Cache-Control: ['no-cache, no-store']
19 Content-Type: [application/json; charset=utf-8] 19 Content-Type: [application/json; charset=utf-8]
@@ -24,10 +24,10 @@ interactions:
24 X-Download-Options: [noopen] 24 X-Download-Options: [noopen]
25 X-Frame-Options: [SAMEORIGIN] 25 X-Frame-Options: [SAMEORIGIN]
26 X-Permitted-Cross-Domain-Policies: [none] 26 X-Permitted-Cross-Domain-Policies: [none]
27 X-Request-Id: [e1684557-94bb-4be8-84d5-c9fd859945f4] 27 X-Request-Id: [eceb9248-63a0-49e0-9ddc-972f9fde5cd5]
28 X-Runtime: ['0.183226'] 28 X-Runtime: ['0.133477']
29 X-XSS-Protection: [1; mode=block] 29 X-XSS-Protection: [1; mode=block]
30 content-length: ['1236'] 30 content-length: ['1280']
31 status: {code: 200, message: OK} 31 status: {code: 200, message: OK}
32- request: 32- request:
33 body: null 33 body: null
@@ -39,10 +39,10 @@ interactions:
39 Content-Length: ['0'] 39 Content-Length: ['0']
40 User-Agent: [python-requests/2.18.4] 40 User-Agent: [python-requests/2.18.4]
41 method: DELETE 41 method: DELETE
42 uri: http://localhost:3000/api/v1/statuses/102317290444458764 42 uri: http://localhost:3000/api/v1/statuses/102945949481758908
43 response: 43 response:
44 body: {string: '{"id":"102317290444458764","created_at":"2019-06-22T21:12:32.344Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost/users/mastodonpy_test/statuses/102317290444458764","url":"http://localhost/@mastodonpy_test/102317290444458764","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"text":"Toot!","reblog":null,"application":{"name":"Mastodon.py 44 body: {string: '{"id":"102945949481758908","created_at":"2019-10-11T21:48:47.990Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost/users/mastodonpy_test/statuses/102945949481758908","url":"http://localhost/@mastodonpy_test/102945949481758908","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"text":"Toot!","reblog":null,"application":{"name":"Mastodon.py
45 test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"","locked":false,"bot":false,"created_at":"2019-06-22T23:11:52.441Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/avatars/original/missing.png","avatar_static":"http://localhost/avatars/original/missing.png","header":"http://localhost/headers/original/missing.png","header_static":"http://localhost/headers/original/missing.png","followers_count":0,"following_count":1,"statuses_count":1,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'} 45 test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"","locked":false,"bot":false,"created_at":"2019-06-22T23:11:52.441Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/avatars/original/missing.png","avatar_static":"http://localhost/avatars/original/missing.png","header":"http://localhost/headers/original/missing.png","header_static":"http://localhost/headers/original/missing.png","followers_count":0,"following_count":1,"statuses_count":2,"last_status_at":"2019-10-11T21:48:47.998Z","emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'}
46 headers: 46 headers:
47 Cache-Control: ['no-cache, no-store'] 47 Cache-Control: ['no-cache, no-store']
48 Content-Type: [application/json; charset=utf-8] 48 Content-Type: [application/json; charset=utf-8]
@@ -53,9 +53,9 @@ interactions:
53 X-Download-Options: [noopen] 53 X-Download-Options: [noopen]
54 X-Frame-Options: [SAMEORIGIN] 54 X-Frame-Options: [SAMEORIGIN]
55 X-Permitted-Cross-Domain-Policies: [none] 55 X-Permitted-Cross-Domain-Policies: [none]
56 X-Request-Id: [04e6e2b4-4ec2-443a-9975-e93dfba655a7] 56 X-Request-Id: [19ad34ff-ded3-4861-b026-90cf37c5f74c]
57 X-Runtime: ['0.068609'] 57 X-Runtime: ['0.205265']
58 X-XSS-Protection: [1; mode=block] 58 X-XSS-Protection: [1; mode=block]
59 content-length: ['1206'] 59 content-length: ['1250']
60 status: {code: 200, message: OK} 60 status: {code: 200, message: OK}
61version: 1 61version: 1
Powered by cgit v1.2.3 (git 2.41.0)