aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cassettes/test_status_context.yaml')
-rw-r--r--tests/cassettes/test_status_context.yaml28
1 files changed, 14 insertions, 14 deletions
diff --git a/tests/cassettes/test_status_context.yaml b/tests/cassettes/test_status_context.yaml
index 990dd1c..05ad7c2 100644
--- a/tests/cassettes/test_status_context.yaml
+++ b/tests/cassettes/test_status_context.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":"102951425734893841","created_at":"2019-10-12T21:01:28.979Z","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/102951425734893841","url":"http://localhost/@mastodonpy_test/102951425734893841","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":"103704151745623810","created_at":"2020-02-22T19:29:36.401Z","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/103704151745623810","url":"http://localhost/@mastodonpy_test/103704151745623810","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"bookmarked":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":0,"statuses_count":3,"last_status_at":"2019-10-12T21:01:28.987Z","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,"discoverable":false,"group":false,"created_at":"2020-02-22T20:26:54.402Z","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":0,"statuses_count":3,"last_status_at":"2020-02-22","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: [42091c8d-380d-402f-a1be-7a854c225b2a] 27 X-Request-Id: [a503d616-1c7e-4bf7-a0fa-c19c5711d0f0]
28 X-Runtime: ['0.114907'] 28 X-Runtime: ['0.176801']
29 X-XSS-Protection: [1; mode=block] 29 X-XSS-Protection: [1; mode=block]
30 content-length: ['1280'] 30 content-length: ['1320']
31 status: {code: 200, message: OK} 31 status: {code: 200, message: OK}
32- request: 32- request:
33 body: null 33 body: null
@@ -38,7 +38,7 @@ interactions:
38 Connection: [keep-alive] 38 Connection: [keep-alive]
39 User-Agent: [python-requests/2.18.4] 39 User-Agent: [python-requests/2.18.4]
40 method: GET 40 method: GET
41 uri: http://localhost:3000/api/v1/statuses/102951425734893841/context 41 uri: http://localhost:3000/api/v1/statuses/103704151745623810/context
42 response: 42 response:
43 body: {string: '{"ancestors":[],"descendants":[]}'} 43 body: {string: '{"ancestors":[],"descendants":[]}'}
44 headers: 44 headers:
@@ -51,8 +51,8 @@ interactions:
51 X-Download-Options: [noopen] 51 X-Download-Options: [noopen]
52 X-Frame-Options: [SAMEORIGIN] 52 X-Frame-Options: [SAMEORIGIN]
53 X-Permitted-Cross-Domain-Policies: [none] 53 X-Permitted-Cross-Domain-Policies: [none]
54 X-Request-Id: [31a4ef70-f8e8-4c80-851b-3a7df3745229] 54 X-Request-Id: [a8e3f68d-6afa-436d-af3e-848e177833b7]
55 X-Runtime: ['0.067260'] 55 X-Runtime: ['0.083103']
56 X-XSS-Protection: [1; mode=block] 56 X-XSS-Protection: [1; mode=block]
57 content-length: ['33'] 57 content-length: ['33']
58 status: {code: 200, message: OK} 58 status: {code: 200, message: OK}
@@ -66,10 +66,10 @@ interactions:
66 Content-Length: ['0'] 66 Content-Length: ['0']
67 User-Agent: [python-requests/2.18.4] 67 User-Agent: [python-requests/2.18.4]
68 method: DELETE 68 method: DELETE
69 uri: http://localhost:3000/api/v1/statuses/102951425734893841 69 uri: http://localhost:3000/api/v1/statuses/103704151745623810
70 response: 70 response:
71 body: {string: '{"id":"102951425734893841","created_at":"2019-10-12T21:01:28.979Z","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/102951425734893841","url":"http://localhost/@mastodonpy_test/102951425734893841","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 71 body: {string: '{"id":"103704151745623810","created_at":"2020-02-22T19:29:36.401Z","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/103704151745623810","url":"http://localhost/@mastodonpy_test/103704151745623810","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"pinned":false,"text":"Toot!","reblog":null,"application":{"name":"Mastodon.py
72 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":0,"statuses_count":3,"last_status_at":"2019-10-12T21:01:28.987Z","emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'} 72 test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"","locked":false,"bot":false,"discoverable":false,"group":false,"created_at":"2020-02-22T20:26:54.402Z","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":0,"statuses_count":3,"last_status_at":"2020-02-22","emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'}
73 headers: 73 headers:
74 Cache-Control: ['no-cache, no-store'] 74 Cache-Control: ['no-cache, no-store']
75 Content-Type: [application/json; charset=utf-8] 75 Content-Type: [application/json; charset=utf-8]
@@ -80,9 +80,9 @@ interactions:
80 X-Download-Options: [noopen] 80 X-Download-Options: [noopen]
81 X-Frame-Options: [SAMEORIGIN] 81 X-Frame-Options: [SAMEORIGIN]
82 X-Permitted-Cross-Domain-Policies: [none] 82 X-Permitted-Cross-Domain-Policies: [none]
83 X-Request-Id: [167311fe-9c1d-4e33-85ac-5276ca8c153f] 83 X-Request-Id: [89a91f35-cd4d-4c66-8387-13cf6fd50fe7]
84 X-Runtime: ['0.126401'] 84 X-Runtime: ['0.158974']
85 X-XSS-Protection: [1; mode=block] 85 X-XSS-Protection: [1; mode=block]
86 content-length: ['1250'] 86 content-length: ['1290']
87 status: {code: 200, message: OK} 87 status: {code: 200, message: OK}
88version: 1 88version: 1
Powered by cgit v1.2.3 (git 2.41.0)