aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cassettes/test_status_context.yaml')
-rw-r--r--tests/cassettes/test_status_context.yaml39
1 files changed, 24 insertions, 15 deletions
diff --git a/tests/cassettes/test_status_context.yaml b/tests/cassettes/test_status_context.yaml
index 349e7d5..495cb42 100644
--- a/tests/cassettes/test_status_context.yaml
+++ b/tests/cassettes/test_status_context.yaml
@@ -12,22 +12,25 @@ 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":"99984773866583077","created_at":"2018-05-06T22:42:53.941Z","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/99984773866583077","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99984773866583077","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py 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
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,"created_at":"2018-05-07T00:38:05.405Z","note":"\u003cp\u003eI 17 Lennon","locked":true,"bot":false,"created_at":"2018-06-05T21:58:43.069Z","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_.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":1,"statuses_count":3},"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_.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":[]}'}
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/"e9b36c86292bf388df11535114958c98"] 22 ETag: [W/"c658f959b5060ad06da7436921f5026f"]
23 Referrer-Policy: [strict-origin-when-cross-origin]
23 Transfer-Encoding: [chunked] 24 Transfer-Encoding: [chunked]
24 Vary: ['Accept-Encoding, Origin'] 25 Vary: ['Accept-Encoding, Origin']
25 X-Content-Type-Options: [nosniff] 26 X-Content-Type-Options: [nosniff]
27 X-Download-Options: [noopen]
26 X-Frame-Options: [SAMEORIGIN] 28 X-Frame-Options: [SAMEORIGIN]
27 X-Request-Id: [983b6635-3b9c-4caa-b422-6eb7475f1e7d] 29 X-Permitted-Cross-Domain-Policies: [none]
28 X-Runtime: ['0.382732'] 30 X-Request-Id: [a2bcb00c-9aaa-4b7d-9b74-8b9f9bee24d2]
31 X-Runtime: ['0.468721']
29 X-XSS-Protection: [1; mode=block] 32 X-XSS-Protection: [1; mode=block]
30 content-length: ['1400'] 33 content-length: ['1505']
31 status: {code: 200, message: OK} 34 status: {code: 200, message: OK}
32- request: 35- request:
33 body: null 36 body: null
@@ -38,19 +41,22 @@ interactions:
38 Connection: [keep-alive] 41 Connection: [keep-alive]
39 User-Agent: [python-requests/2.9.1] 42 User-Agent: [python-requests/2.9.1]
40 method: GET 43 method: GET
41 uri: http://localhost:3000/api/v1/statuses/99984773866583077/context 44 uri: http://localhost:3000/api/v1/statuses/100154009398671983/context
42 response: 45 response:
43 body: {string: '{"ancestors":[],"descendants":[]}'} 46 body: {string: '{"ancestors":[],"descendants":[]}'}
44 headers: 47 headers:
45 Cache-Control: ['max-age=0, private, must-revalidate'] 48 Cache-Control: ['max-age=0, private, must-revalidate']
46 Content-Type: [application/json; charset=utf-8] 49 Content-Type: [application/json; charset=utf-8]
47 ETag: [W/"0693524a8238592e49e94bda94bba8a5"] 50 ETag: [W/"8ef60a0480e8b111a8f3ee590ef96bc0"]
51 Referrer-Policy: [strict-origin-when-cross-origin]
48 Transfer-Encoding: [chunked] 52 Transfer-Encoding: [chunked]
49 Vary: ['Accept-Encoding, Origin'] 53 Vary: ['Accept-Encoding, Origin']
50 X-Content-Type-Options: [nosniff] 54 X-Content-Type-Options: [nosniff]
55 X-Download-Options: [noopen]
51 X-Frame-Options: [SAMEORIGIN] 56 X-Frame-Options: [SAMEORIGIN]
52 X-Request-Id: [32e2b0c1-0f1c-4810-a600-cc81b1d6d868] 57 X-Permitted-Cross-Domain-Policies: [none]
53 X-Runtime: ['0.228665'] 58 X-Request-Id: [b3f45c07-5c0b-48fc-bf90-26e8666af75d]
59 X-Runtime: ['0.208617']
54 X-XSS-Protection: [1; mode=block] 60 X-XSS-Protection: [1; mode=block]
55 content-length: ['33'] 61 content-length: ['33']
56 status: {code: 200, message: OK} 62 status: {code: 200, message: OK}
@@ -64,19 +70,22 @@ interactions:
64 Content-Length: ['0'] 70 Content-Length: ['0']
65 User-Agent: [python-requests/2.9.1] 71 User-Agent: [python-requests/2.9.1]
66 method: DELETE 72 method: DELETE
67 uri: http://localhost:3000/api/v1/statuses/99984773866583077 73 uri: http://localhost:3000/api/v1/statuses/100154009398671983
68 response: 74 response:
69 body: {string: '{}'} 75 body: {string: '{}'}
70 headers: 76 headers:
71 Cache-Control: ['max-age=0, private, must-revalidate'] 77 Cache-Control: ['max-age=0, private, must-revalidate']
72 Content-Type: [application/json; charset=utf-8] 78 Content-Type: [application/json; charset=utf-8]
73 ETag: [W/"137e92eaeae411776cb8945f739d8cd6"] 79 ETag: [W/"8518004e040eccfbe8a82aa114c9157b"]
80 Referrer-Policy: [strict-origin-when-cross-origin]
74 Transfer-Encoding: [chunked] 81 Transfer-Encoding: [chunked]
75 Vary: ['Accept-Encoding, Origin'] 82 Vary: ['Accept-Encoding, Origin']
76 X-Content-Type-Options: [nosniff] 83 X-Content-Type-Options: [nosniff]
84 X-Download-Options: [noopen]
77 X-Frame-Options: [SAMEORIGIN] 85 X-Frame-Options: [SAMEORIGIN]
78 X-Request-Id: [3abe3871-ce82-44f2-af43-58e174e10b4b] 86 X-Permitted-Cross-Domain-Policies: [none]
79 X-Runtime: ['0.082150'] 87 X-Request-Id: [12950b92-502a-463e-88e9-534f864e5726]
88 X-Runtime: ['0.108872']
80 X-XSS-Protection: [1; mode=block] 89 X-XSS-Protection: [1; mode=block]
81 content-length: ['2'] 90 content-length: ['2']
82 status: {code: 200, message: OK} 91 status: {code: 200, message: OK}
Powered by cgit v1.2.3 (git 2.41.0)