diff options
Diffstat (limited to 'tests/cassettes/test_status_context.yaml')
-rw-r--r-- | tests/cassettes/test_status_context.yaml | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/tests/cassettes/test_status_context.yaml b/tests/cassettes/test_status_context.yaml index 20fdc39..349e7d5 100644 --- a/tests/cassettes/test_status_context.yaml +++ b/tests/cassettes/test_status_context.yaml | |||
@@ -12,22 +12,22 @@ 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":"99979651921802110","created_at":"2018-05-06T01:00:19.235Z","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/99979651921802110","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99979651921802110","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py | 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 |
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-04-18T20:04:06.511Z","note":"\u003cp\u003eI | 17 | Lennon","locked":true,"created_at":"2018-05-07T00:38:05.405Z","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":0,"statuses_count":129},"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":1,"statuses_count":3},"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/"ea47c84faa979aac262864961f0349aa"] | 22 | ETag: [W/"e9b36c86292bf388df11535114958c98"] |
23 | Transfer-Encoding: [chunked] | 23 | Transfer-Encoding: [chunked] |
24 | Vary: ['Accept-Encoding, Origin'] | 24 | Vary: ['Accept-Encoding, Origin'] |
25 | X-Content-Type-Options: [nosniff] | 25 | X-Content-Type-Options: [nosniff] |
26 | X-Frame-Options: [SAMEORIGIN] | 26 | X-Frame-Options: [SAMEORIGIN] |
27 | X-Request-Id: [4c3c1d71-2ef0-453b-8a29-1fb0d713f50c] | 27 | X-Request-Id: [983b6635-3b9c-4caa-b422-6eb7475f1e7d] |
28 | X-Runtime: ['0.243348'] | 28 | X-Runtime: ['0.382732'] |
29 | X-XSS-Protection: [1; mode=block] | 29 | X-XSS-Protection: [1; mode=block] |
30 | content-length: ['1402'] | 30 | content-length: ['1400'] |
31 | status: {code: 200, message: OK} | 31 | status: {code: 200, message: OK} |
32 | - request: | 32 | - request: |
33 | body: null | 33 | body: null |
@@ -38,19 +38,19 @@ interactions: | |||
38 | Connection: [keep-alive] | 38 | Connection: [keep-alive] |
39 | User-Agent: [python-requests/2.9.1] | 39 | User-Agent: [python-requests/2.9.1] |
40 | method: GET | 40 | method: GET |
41 | uri: http://localhost:3000/api/v1/statuses/99979651921802110/context | 41 | uri: http://localhost:3000/api/v1/statuses/99984773866583077/context |
42 | response: | 42 | response: |
43 | body: {string: '{"ancestors":[],"descendants":[]}'} | 43 | body: {string: '{"ancestors":[],"descendants":[]}'} |
44 | headers: | 44 | headers: |
45 | Cache-Control: ['max-age=0, private, must-revalidate'] | 45 | Cache-Control: ['max-age=0, private, must-revalidate'] |
46 | Content-Type: [application/json; charset=utf-8] | 46 | Content-Type: [application/json; charset=utf-8] |
47 | ETag: [W/"134db4042e133b48835c7a6fb832e2b3"] | 47 | ETag: [W/"0693524a8238592e49e94bda94bba8a5"] |
48 | Transfer-Encoding: [chunked] | 48 | Transfer-Encoding: [chunked] |
49 | Vary: ['Accept-Encoding, Origin'] | 49 | Vary: ['Accept-Encoding, Origin'] |
50 | X-Content-Type-Options: [nosniff] | 50 | X-Content-Type-Options: [nosniff] |
51 | X-Frame-Options: [SAMEORIGIN] | 51 | X-Frame-Options: [SAMEORIGIN] |
52 | X-Request-Id: [5ca521ba-51fd-428a-8a3c-5c4f72f15ad7] | 52 | X-Request-Id: [32e2b0c1-0f1c-4810-a600-cc81b1d6d868] |
53 | X-Runtime: ['0.076453'] | 53 | X-Runtime: ['0.228665'] |
54 | X-XSS-Protection: [1; mode=block] | 54 | X-XSS-Protection: [1; mode=block] |
55 | content-length: ['33'] | 55 | content-length: ['33'] |
56 | status: {code: 200, message: OK} | 56 | status: {code: 200, message: OK} |
@@ -64,19 +64,19 @@ interactions: | |||
64 | Content-Length: ['0'] | 64 | Content-Length: ['0'] |
65 | User-Agent: [python-requests/2.9.1] | 65 | User-Agent: [python-requests/2.9.1] |
66 | method: DELETE | 66 | method: DELETE |
67 | uri: http://localhost:3000/api/v1/statuses/99979651921802110 | 67 | uri: http://localhost:3000/api/v1/statuses/99984773866583077 |
68 | response: | 68 | response: |
69 | body: {string: '{}'} | 69 | body: {string: '{}'} |
70 | headers: | 70 | headers: |
71 | Cache-Control: ['max-age=0, private, must-revalidate'] | 71 | Cache-Control: ['max-age=0, private, must-revalidate'] |
72 | Content-Type: [application/json; charset=utf-8] | 72 | Content-Type: [application/json; charset=utf-8] |
73 | ETag: [W/"2d6730305f8b629fa0ba0ee6e53c2c7a"] | 73 | ETag: [W/"137e92eaeae411776cb8945f739d8cd6"] |
74 | Transfer-Encoding: [chunked] | 74 | Transfer-Encoding: [chunked] |
75 | Vary: ['Accept-Encoding, Origin'] | 75 | Vary: ['Accept-Encoding, Origin'] |
76 | X-Content-Type-Options: [nosniff] | 76 | X-Content-Type-Options: [nosniff] |
77 | X-Frame-Options: [SAMEORIGIN] | 77 | X-Frame-Options: [SAMEORIGIN] |
78 | X-Request-Id: [7c4b6aa7-b16c-4aaa-b339-e27a963db5be] | 78 | X-Request-Id: [3abe3871-ce82-44f2-af43-58e174e10b4b] |
79 | X-Runtime: ['0.045075'] | 79 | X-Runtime: ['0.082150'] |
80 | X-XSS-Protection: [1; mode=block] | 80 | X-XSS-Protection: [1; mode=block] |
81 | content-length: ['2'] | 81 | content-length: ['2'] |
82 | status: {code: 200, message: OK} | 82 | status: {code: 200, message: OK} |