aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cassettes/test_status_context.yaml')
-rw-r--r--tests/cassettes/test_status_context.yaml36
1 files changed, 18 insertions, 18 deletions
diff --git a/tests/cassettes/test_status_context.yaml b/tests/cassettes/test_status_context.yaml
index 495cb42..809b239 100644
--- a/tests/cassettes/test_status_context.yaml
+++ b/tests/cassettes/test_status_context.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":"100154009398671983","created_at":"2018-06-05T20:01:43.258Z","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/100154009398671983","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100154009398671983","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py 15 body: {string: '{"id":"100369509757963192","created_at":"2018-07-13T21:26:17.719Z","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/100369509757963192","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100369509757963192","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":1,"statuses_count":17,"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":53,"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/"c658f959b5060ad06da7436921f5026f"] 22 ETag: [W/"09644d7adc155676f828d158dec4c0a1"]
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: [a2bcb00c-9aaa-4b7d-9b74-8b9f9bee24d2] 30 X-Request-Id: [281c9cce-570a-4fa8-b52f-2fdd7b00bcdf]
31 X-Runtime: ['0.468721'] 31 X-Runtime: ['0.234531']
32 X-XSS-Protection: [1; mode=block] 32 X-XSS-Protection: [1; mode=block]
33 content-length: ['1505'] 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
@@ -39,15 +39,15 @@ interactions:
39 Accept-Encoding: ['gzip, deflate'] 39 Accept-Encoding: ['gzip, deflate']
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 User-Agent: [python-requests/2.9.1] 42 User-Agent: [python-requests/2.18.4]
43 method: GET 43 method: GET
44 uri: http://localhost:3000/api/v1/statuses/100154009398671983/context 44 uri: http://localhost:3000/api/v1/statuses/100369509757963192/context
45 response: 45 response:
46 body: {string: '{"ancestors":[],"descendants":[]}'} 46 body: {string: '{"ancestors":[],"descendants":[]}'}
47 headers: 47 headers:
48 Cache-Control: ['max-age=0, private, must-revalidate'] 48 Cache-Control: ['max-age=0, private, must-revalidate']
49 Content-Type: [application/json; charset=utf-8] 49 Content-Type: [application/json; charset=utf-8]
50 ETag: [W/"8ef60a0480e8b111a8f3ee590ef96bc0"] 50 ETag: [W/"f60da0fe26e398b5711f59b960386935"]
51 Referrer-Policy: [strict-origin-when-cross-origin] 51 Referrer-Policy: [strict-origin-when-cross-origin]
52 Transfer-Encoding: [chunked] 52 Transfer-Encoding: [chunked]
53 Vary: ['Accept-Encoding, Origin'] 53 Vary: ['Accept-Encoding, Origin']
@@ -55,8 +55,8 @@ interactions:
55 X-Download-Options: [noopen] 55 X-Download-Options: [noopen]
56 X-Frame-Options: [SAMEORIGIN] 56 X-Frame-Options: [SAMEORIGIN]
57 X-Permitted-Cross-Domain-Policies: [none] 57 X-Permitted-Cross-Domain-Policies: [none]
58 X-Request-Id: [b3f45c07-5c0b-48fc-bf90-26e8666af75d] 58 X-Request-Id: [234cc7ba-e087-4fcf-a436-f623ad1269e5]
59 X-Runtime: ['0.208617'] 59 X-Runtime: ['0.091313']
60 X-XSS-Protection: [1; mode=block] 60 X-XSS-Protection: [1; mode=block]
61 content-length: ['33'] 61 content-length: ['33']
62 status: {code: 200, message: OK} 62 status: {code: 200, message: OK}
@@ -68,15 +68,15 @@ interactions:
68 Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] 68 Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN]
69 Connection: [keep-alive] 69 Connection: [keep-alive]
70 Content-Length: ['0'] 70 Content-Length: ['0']
71 User-Agent: [python-requests/2.9.1] 71 User-Agent: [python-requests/2.18.4]
72 method: DELETE 72 method: DELETE
73 uri: http://localhost:3000/api/v1/statuses/100154009398671983 73 uri: http://localhost:3000/api/v1/statuses/100369509757963192
74 response: 74 response:
75 body: {string: '{}'} 75 body: {string: '{}'}
76 headers: 76 headers:
77 Cache-Control: ['max-age=0, private, must-revalidate'] 77 Cache-Control: ['max-age=0, private, must-revalidate']
78 Content-Type: [application/json; charset=utf-8] 78 Content-Type: [application/json; charset=utf-8]
79 ETag: [W/"8518004e040eccfbe8a82aa114c9157b"] 79 ETag: [W/"f93d5ec887e94da389aca642e8189421"]
80 Referrer-Policy: [strict-origin-when-cross-origin] 80 Referrer-Policy: [strict-origin-when-cross-origin]
81 Transfer-Encoding: [chunked] 81 Transfer-Encoding: [chunked]
82 Vary: ['Accept-Encoding, Origin'] 82 Vary: ['Accept-Encoding, Origin']
@@ -84,8 +84,8 @@ interactions:
84 X-Download-Options: [noopen] 84 X-Download-Options: [noopen]
85 X-Frame-Options: [SAMEORIGIN] 85 X-Frame-Options: [SAMEORIGIN]
86 X-Permitted-Cross-Domain-Policies: [none] 86 X-Permitted-Cross-Domain-Policies: [none]
87 X-Request-Id: [12950b92-502a-463e-88e9-534f864e5726] 87 X-Request-Id: [59bdd62b-fb96-45e6-b94a-f42ff3ca0e48]
88 X-Runtime: ['0.108872'] 88 X-Runtime: ['0.057150']
89 X-XSS-Protection: [1; mode=block] 89 X-XSS-Protection: [1; mode=block]
90 content-length: ['2'] 90 content-length: ['2']
91 status: {code: 200, message: OK} 91 status: {code: 200, message: OK}
Powered by cgit v1.2.3 (git 2.41.0)