aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cassettes/test_id_hook.yaml')
-rw-r--r--tests/cassettes/test_id_hook.yaml26
1 files changed, 13 insertions, 13 deletions
diff --git a/tests/cassettes/test_id_hook.yaml b/tests/cassettes/test_id_hook.yaml
index 3f4cca5..a3cef60 100644
--- a/tests/cassettes/test_id_hook.yaml
+++ b/tests/cassettes/test_id_hook.yaml
@@ -8,18 +8,18 @@ interactions:
8 Connection: [keep-alive] 8 Connection: [keep-alive]
9 Content-Length: ['14'] 9 Content-Length: ['14']
10 Content-Type: [application/x-www-form-urlencoded] 10 Content-Type: [application/x-www-form-urlencoded]
11 User-Agent: [python-requests/2.9.1] 11 User-Agent: [python-requests/2.18.4]
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":"100154004914942364","created_at":"2018-06-05T20:00:35.401Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100154004914942364","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100154004914942364","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py 15 body: {string: '{"id":"100369506936128936","created_at":"2018-07-13T21:25:34.655Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100369506936128936","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100369506936128936","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py
16 test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John 16 test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
17 Lennon","locked":true,"bot":false,"created_at":"2018-06-05T21:58:43.069Z","note":"\u003cp\u003eI 17 Lennon","locked":true,"bot":false,"created_at":"2018-07-13T23:02:25.260Z","note":"\u003cp\u003eI
18 walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","followers_count":0,"following_count":0,"statuses_count":1,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'} 18 walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":0,"statuses_count":32,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'}
19 headers: 19 headers:
20 Cache-Control: ['max-age=0, private, must-revalidate'] 20 Cache-Control: ['max-age=0, private, must-revalidate']
21 Content-Type: [application/json; charset=utf-8] 21 Content-Type: [application/json; charset=utf-8]
22 ETag: [W/"680e87e82e2b6d4e70c6918d64540a0f"] 22 ETag: [W/"12e08c0b77b97bfa57a48f881d9de445"]
23 Referrer-Policy: [strict-origin-when-cross-origin] 23 Referrer-Policy: [strict-origin-when-cross-origin]
24 Transfer-Encoding: [chunked] 24 Transfer-Encoding: [chunked]
25 Vary: ['Accept-Encoding, Origin'] 25 Vary: ['Accept-Encoding, Origin']
@@ -27,10 +27,10 @@ interactions:
27 X-Download-Options: [noopen] 27 X-Download-Options: [noopen]
28 X-Frame-Options: [SAMEORIGIN] 28 X-Frame-Options: [SAMEORIGIN]
29 X-Permitted-Cross-Domain-Policies: [none] 29 X-Permitted-Cross-Domain-Policies: [none]
30 X-Request-Id: [90183c47-eb1d-4122-84b8-c171a5b9d499] 30 X-Request-Id: [ef39f447-c298-4e3b-a778-c32d34460873]
31 X-Runtime: ['1.675382'] 31 X-Runtime: ['0.136207']
32 X-XSS-Protection: [1; mode=block] 32 X-XSS-Protection: [1; mode=block]
33 content-length: ['1504'] 33 content-length: ['1509']
34 status: {code: 200, message: OK} 34 status: {code: 200, message: OK}
35- request: 35- request:
36 body: null 36 body: null
@@ -40,15 +40,15 @@ interactions:
40 Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] 40 Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN]
41 Connection: [keep-alive] 41 Connection: [keep-alive]
42 Content-Length: ['0'] 42 Content-Length: ['0']
43 User-Agent: [python-requests/2.9.1] 43 User-Agent: [python-requests/2.18.4]
44 method: DELETE 44 method: DELETE
45 uri: http://localhost:3000/api/v1/statuses/100154004914942364 45 uri: http://localhost:3000/api/v1/statuses/100369506936128936
46 response: 46 response:
47 body: {string: '{}'} 47 body: {string: '{}'}
48 headers: 48 headers:
49 Cache-Control: ['max-age=0, private, must-revalidate'] 49 Cache-Control: ['max-age=0, private, must-revalidate']
50 Content-Type: [application/json; charset=utf-8] 50 Content-Type: [application/json; charset=utf-8]
51 ETag: [W/"3753328ee19d34c566ca7aee10ac62f5"] 51 ETag: [W/"bfd3faa192e3a4b3c0dc9e2fe633c178"]
52 Referrer-Policy: [strict-origin-when-cross-origin] 52 Referrer-Policy: [strict-origin-when-cross-origin]
53 Transfer-Encoding: [chunked] 53 Transfer-Encoding: [chunked]
54 Vary: ['Accept-Encoding, Origin'] 54 Vary: ['Accept-Encoding, Origin']
@@ -56,8 +56,8 @@ interactions:
56 X-Download-Options: [noopen] 56 X-Download-Options: [noopen]
57 X-Frame-Options: [SAMEORIGIN] 57 X-Frame-Options: [SAMEORIGIN]
58 X-Permitted-Cross-Domain-Policies: [none] 58 X-Permitted-Cross-Domain-Policies: [none]
59 X-Request-Id: [9080fd21-b989-43f3-bf40-a9194e195f64] 59 X-Request-Id: [39777f6e-9628-43c6-a88e-398687b6381a]
60 X-Runtime: ['0.123362'] 60 X-Runtime: ['0.064804']
61 X-XSS-Protection: [1; mode=block] 61 X-XSS-Protection: [1; mode=block]
62 content-length: ['2'] 62 content-length: ['2']
63 status: {code: 200, message: OK} 63 status: {code: 200, message: OK}
Powered by cgit v1.2.3 (git 2.41.0)