aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cassettes/test_status_context.yaml')
-rw-r--r--tests/cassettes/test_status_context.yaml32
1 files changed, 14 insertions, 18 deletions
diff --git a/tests/cassettes/test_status_context.yaml b/tests/cassettes/test_status_context.yaml
index 4e4a93e..ef729a5 100644
--- a/tests/cassettes/test_status_context.yaml
+++ b/tests/cassettes/test_status_context.yaml
@@ -12,10 +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":"102315368498761904","created_at":"2019-06-22T13:03:45.780Z","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/102315368498761904","url":"http://localhost/@mastodonpy_test/102315368498761904","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":"102317292986554862","created_at":"2019-06-22T21:13:11.133Z","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/102317292986554862","url":"http://localhost/@mastodonpy_test/102317292986554862","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":"John 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":1,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'}
17 Lennon","locked":true,"bot":false,"created_at":"2019-06-22T14:46:28.567Z","note":"\u003cp\u003eI
18 walk funny\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561208564","avatar_static":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561208564","header":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561208564","header_static":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561208564","followers_count":0,"following_count":0,"statuses_count":1,"emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'}
19 headers: 17 headers:
20 Cache-Control: ['no-cache, no-store'] 18 Cache-Control: ['no-cache, no-store']
21 Content-Type: [application/json; charset=utf-8] 19 Content-Type: [application/json; charset=utf-8]
@@ -26,10 +24,10 @@ interactions:
26 X-Download-Options: [noopen] 24 X-Download-Options: [noopen]
27 X-Frame-Options: [SAMEORIGIN] 25 X-Frame-Options: [SAMEORIGIN]
28 X-Permitted-Cross-Domain-Policies: [none] 26 X-Permitted-Cross-Domain-Policies: [none]
29 X-Request-Id: [3c1d6fc7-c9d2-4539-bf20-f5422f562491] 27 X-Request-Id: [a3f51601-4ce0-4a24-9833-033f8af43f85]
30 X-Runtime: ['0.151291'] 28 X-Runtime: ['0.154557']
31 X-XSS-Protection: [1; mode=block] 29 X-XSS-Protection: [1; mode=block]
32 content-length: ['1597'] 30 content-length: ['1236']
33 status: {code: 200, message: OK} 31 status: {code: 200, message: OK}
34- request: 32- request:
35 body: null 33 body: null
@@ -40,7 +38,7 @@ interactions:
40 Connection: [keep-alive] 38 Connection: [keep-alive]
41 User-Agent: [python-requests/2.18.4] 39 User-Agent: [python-requests/2.18.4]
42 method: GET 40 method: GET
43 uri: http://localhost:3000/api/v1/statuses/102315368498761904/context 41 uri: http://localhost:3000/api/v1/statuses/102317292986554862/context
44 response: 42 response:
45 body: {string: '{"ancestors":[],"descendants":[]}'} 43 body: {string: '{"ancestors":[],"descendants":[]}'}
46 headers: 44 headers:
@@ -53,8 +51,8 @@ interactions:
53 X-Download-Options: [noopen] 51 X-Download-Options: [noopen]
54 X-Frame-Options: [SAMEORIGIN] 52 X-Frame-Options: [SAMEORIGIN]
55 X-Permitted-Cross-Domain-Policies: [none] 53 X-Permitted-Cross-Domain-Policies: [none]
56 X-Request-Id: [ee9dd2c6-6b1e-43b0-a6fa-c7f39d90ffd7] 54 X-Request-Id: [7c85a6c7-5cac-4d0b-b3ef-f3751fba5c92]
57 X-Runtime: ['0.052980'] 55 X-Runtime: ['0.078620']
58 X-XSS-Protection: [1; mode=block] 56 X-XSS-Protection: [1; mode=block]
59 content-length: ['33'] 57 content-length: ['33']
60 status: {code: 200, message: OK} 58 status: {code: 200, message: OK}
@@ -68,12 +66,10 @@ interactions:
68 Content-Length: ['0'] 66 Content-Length: ['0']
69 User-Agent: [python-requests/2.18.4] 67 User-Agent: [python-requests/2.18.4]
70 method: DELETE 68 method: DELETE
71 uri: http://localhost:3000/api/v1/statuses/102315368498761904 69 uri: http://localhost:3000/api/v1/statuses/102317292986554862
72 response: 70 response:
73 body: {string: '{"id":"102315368498761904","created_at":"2019-06-22T13:03:45.780Z","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/102315368498761904","url":"http://localhost/@mastodonpy_test/102315368498761904","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":"102317292986554862","created_at":"2019-06-22T21:13:11.133Z","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/102317292986554862","url":"http://localhost/@mastodonpy_test/102317292986554862","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
74 test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John 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":1,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'}
75 Lennon","locked":true,"bot":false,"created_at":"2019-06-22T14:46:28.567Z","note":"\u003cp\u003eI
76 walk funny\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561208564","avatar_static":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561208564","header":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561208564","header_static":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561208564","followers_count":0,"following_count":0,"statuses_count":1,"emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'}
77 headers: 73 headers:
78 Cache-Control: ['no-cache, no-store'] 74 Cache-Control: ['no-cache, no-store']
79 Content-Type: [application/json; charset=utf-8] 75 Content-Type: [application/json; charset=utf-8]
@@ -84,9 +80,9 @@ interactions:
84 X-Download-Options: [noopen] 80 X-Download-Options: [noopen]
85 X-Frame-Options: [SAMEORIGIN] 81 X-Frame-Options: [SAMEORIGIN]
86 X-Permitted-Cross-Domain-Policies: [none] 82 X-Permitted-Cross-Domain-Policies: [none]
87 X-Request-Id: [a7dc8d0d-21ea-4b41-8e77-3025e237b0e0] 83 X-Request-Id: [f4b2380e-8ec2-455e-bbcc-940bb856584b]
88 X-Runtime: ['0.074916'] 84 X-Runtime: ['0.080653']
89 X-XSS-Protection: [1; mode=block] 85 X-XSS-Protection: [1; mode=block]
90 content-length: ['1567'] 86 content-length: ['1206']
91 status: {code: 200, message: OK} 87 status: {code: 200, message: OK}
92version: 1 88version: 1
Powered by cgit v1.2.3 (git 2.41.0)