diff options
author | Lorenz Diener <[email protected]> | 2018-05-06 03:02:19 +0200 |
---|---|---|
committer | Lorenz Diener <[email protected]> | 2018-05-06 03:02:19 +0200 |
commit | bb92f76e61063bbe59868659fb42824d3649c7b2 (patch) | |
tree | 3977c4da17684c323ecb2c0b07f366daa532c6ac /tests/cassettes/test_status_context.yaml | |
parent | 3676e43f1198bb0cf57bfd68e5c553d927597a62 (diff) | |
download | mastodon.py-bb92f76e61063bbe59868659fb42824d3649c7b2.tar.gz |
Refresh casettes and add some new ones
Diffstat (limited to 'tests/cassettes/test_status_context.yaml')
-rw-r--r-- | tests/cassettes/test_status_context.yaml | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/tests/cassettes/test_status_context.yaml b/tests/cassettes/test_status_context.yaml index 6496588..20fdc39 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":"99979314757071830","created_at":"2018-05-05T23:34:34.511Z","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/99979314757071830","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99979314757071830","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py | 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 |
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-04-18T20:04:06.511Z","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_.jpe","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpe","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpe","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpe","followers_count":0,"following_count":0,"statuses_count":127},"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":129},"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/"b3d278d27543626d9868877ede514970"] | 22 | ETag: [W/"ea47c84faa979aac262864961f0349aa"] |
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: [689c526f-fbac-467e-8c35-d170c14897c4] | 27 | X-Request-Id: [4c3c1d71-2ef0-453b-8a29-1fb0d713f50c] |
28 | X-Runtime: ['0.265907'] | 28 | X-Runtime: ['0.243348'] |
29 | X-XSS-Protection: [1; mode=block] | 29 | X-XSS-Protection: [1; mode=block] |
30 | content-length: ['1398'] | 30 | content-length: ['1402'] |
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/99979314757071830/context | 41 | uri: http://localhost:3000/api/v1/statuses/99979651921802110/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/"618544de119d463484f3fd58948d8138"] | 47 | ETag: [W/"134db4042e133b48835c7a6fb832e2b3"] |
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: [13a9afa2-7c18-41a9-8833-03fb2a9f5e6c] | 52 | X-Request-Id: [5ca521ba-51fd-428a-8a3c-5c4f72f15ad7] |
53 | X-Runtime: ['0.158826'] | 53 | X-Runtime: ['0.076453'] |
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/99979314757071830 | 67 | uri: http://localhost:3000/api/v1/statuses/99979651921802110 |
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/"26794a6479efb449e5cffad071c16385"] | 73 | ETag: [W/"2d6730305f8b629fa0ba0ee6e53c2c7a"] |
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: [68411dcf-ccd2-4d4c-99db-9d5fc6f57088] | 78 | X-Request-Id: [7c4b6aa7-b16c-4aaa-b339-e27a963db5be] |
79 | X-Runtime: ['0.026501'] | 79 | X-Runtime: ['0.045075'] |
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} |