diff options
Diffstat (limited to 'tests/cassettes/test_status_context.yaml')
-rw-r--r-- | tests/cassettes/test_status_context.yaml | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/tests/cassettes/test_status_context.yaml b/tests/cassettes/test_status_context.yaml index 46cbbc8..4e4a93e 100644 --- a/tests/cassettes/test_status_context.yaml +++ b/tests/cassettes/test_status_context.yaml | |||
@@ -12,14 +12,13 @@ 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":"101999517217102789","created_at":"2019-04-27T18:18:37.712Z","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/101999517217102789","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost/@mastodonpy_test/101999517217102789","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py | 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 |
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,"bot":false,"created_at":"2019-04-27T20:03:12.393Z","note":"\u003cp\u003eI | 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?1556389071","avatar_static":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1556389071","header":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1556389071","header_static":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1556389071","followers_count":0,"following_count":0,"statuses_count":63,"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}'} | 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: | 19 | headers: |
20 | Cache-Control: ['max-age=0, private, must-revalidate'] | 20 | Cache-Control: ['no-cache, no-store'] |
21 | Content-Type: [application/json; charset=utf-8] | 21 | Content-Type: [application/json; charset=utf-8] |
22 | ETag: [W/"59f021e67eaf36b4c2911c16f3cf0b9c"] | ||
23 | Referrer-Policy: [strict-origin-when-cross-origin] | 22 | Referrer-Policy: [strict-origin-when-cross-origin] |
24 | Transfer-Encoding: [chunked] | 23 | Transfer-Encoding: [chunked] |
25 | Vary: ['Accept-Encoding, Origin'] | 24 | Vary: ['Accept-Encoding, Origin'] |
@@ -27,10 +26,10 @@ interactions: | |||
27 | X-Download-Options: [noopen] | 26 | X-Download-Options: [noopen] |
28 | X-Frame-Options: [SAMEORIGIN] | 27 | X-Frame-Options: [SAMEORIGIN] |
29 | X-Permitted-Cross-Domain-Policies: [none] | 28 | X-Permitted-Cross-Domain-Policies: [none] |
30 | X-Request-Id: [718847c6-4a3d-4f9a-9c03-4226764f1658] | 29 | X-Request-Id: [3c1d6fc7-c9d2-4539-bf20-f5422f562491] |
31 | X-Runtime: ['0.161023'] | 30 | X-Runtime: ['0.151291'] |
32 | X-XSS-Protection: [1; mode=block] | 31 | X-XSS-Protection: [1; mode=block] |
33 | content-length: ['1598'] | 32 | content-length: ['1597'] |
34 | status: {code: 200, message: OK} | 33 | status: {code: 200, message: OK} |
35 | - request: | 34 | - request: |
36 | body: null | 35 | body: null |
@@ -41,13 +40,12 @@ interactions: | |||
41 | Connection: [keep-alive] | 40 | Connection: [keep-alive] |
42 | User-Agent: [python-requests/2.18.4] | 41 | User-Agent: [python-requests/2.18.4] |
43 | method: GET | 42 | method: GET |
44 | uri: http://localhost:3000/api/v1/statuses/101999517217102789/context | 43 | uri: http://localhost:3000/api/v1/statuses/102315368498761904/context |
45 | response: | 44 | response: |
46 | body: {string: '{"ancestors":[],"descendants":[]}'} | 45 | body: {string: '{"ancestors":[],"descendants":[]}'} |
47 | headers: | 46 | headers: |
48 | Cache-Control: ['max-age=0, private, must-revalidate'] | 47 | Cache-Control: ['no-cache, no-store'] |
49 | Content-Type: [application/json; charset=utf-8] | 48 | Content-Type: [application/json; charset=utf-8] |
50 | ETag: [W/"e12caf0d1c486ccd247a1c445df1c49f"] | ||
51 | Referrer-Policy: [strict-origin-when-cross-origin] | 49 | Referrer-Policy: [strict-origin-when-cross-origin] |
52 | Transfer-Encoding: [chunked] | 50 | Transfer-Encoding: [chunked] |
53 | Vary: ['Accept-Encoding, Origin'] | 51 | Vary: ['Accept-Encoding, Origin'] |
@@ -55,8 +53,8 @@ interactions: | |||
55 | X-Download-Options: [noopen] | 53 | X-Download-Options: [noopen] |
56 | X-Frame-Options: [SAMEORIGIN] | 54 | X-Frame-Options: [SAMEORIGIN] |
57 | X-Permitted-Cross-Domain-Policies: [none] | 55 | X-Permitted-Cross-Domain-Policies: [none] |
58 | X-Request-Id: [b0248ad6-bb12-4760-8605-3720f2f9a3f0] | 56 | X-Request-Id: [ee9dd2c6-6b1e-43b0-a6fa-c7f39d90ffd7] |
59 | X-Runtime: ['0.069795'] | 57 | X-Runtime: ['0.052980'] |
60 | X-XSS-Protection: [1; mode=block] | 58 | X-XSS-Protection: [1; mode=block] |
61 | content-length: ['33'] | 59 | content-length: ['33'] |
62 | status: {code: 200, message: OK} | 60 | status: {code: 200, message: OK} |
@@ -70,13 +68,15 @@ interactions: | |||
70 | Content-Length: ['0'] | 68 | Content-Length: ['0'] |
71 | User-Agent: [python-requests/2.18.4] | 69 | User-Agent: [python-requests/2.18.4] |
72 | method: DELETE | 70 | method: DELETE |
73 | uri: http://localhost:3000/api/v1/statuses/101999517217102789 | 71 | uri: http://localhost:3000/api/v1/statuses/102315368498761904 |
74 | response: | 72 | response: |
75 | body: {string: '{}'} | 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 |
74 | test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John | ||
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}'} | ||
76 | headers: | 77 | headers: |
77 | Cache-Control: ['max-age=0, private, must-revalidate'] | 78 | Cache-Control: ['no-cache, no-store'] |
78 | Content-Type: [application/json; charset=utf-8] | 79 | Content-Type: [application/json; charset=utf-8] |
79 | ETag: [W/"f51e65cdc2c02e9f992d709455377f2e"] | ||
80 | Referrer-Policy: [strict-origin-when-cross-origin] | 80 | Referrer-Policy: [strict-origin-when-cross-origin] |
81 | Transfer-Encoding: [chunked] | 81 | Transfer-Encoding: [chunked] |
82 | Vary: ['Accept-Encoding, Origin'] | 82 | Vary: ['Accept-Encoding, Origin'] |
@@ -84,9 +84,9 @@ interactions: | |||
84 | X-Download-Options: [noopen] | 84 | X-Download-Options: [noopen] |
85 | X-Frame-Options: [SAMEORIGIN] | 85 | X-Frame-Options: [SAMEORIGIN] |
86 | X-Permitted-Cross-Domain-Policies: [none] | 86 | X-Permitted-Cross-Domain-Policies: [none] |
87 | X-Request-Id: [e8dc429d-6778-41c5-ad4e-fa510d0c27b8] | 87 | X-Request-Id: [a7dc8d0d-21ea-4b41-8e77-3025e237b0e0] |
88 | X-Runtime: ['0.024804'] | 88 | X-Runtime: ['0.074916'] |
89 | X-XSS-Protection: [1; mode=block] | 89 | X-XSS-Protection: [1; mode=block] |
90 | content-length: ['2'] | 90 | content-length: ['1567'] |
91 | status: {code: 200, message: OK} | 91 | status: {code: 200, message: OK} |
92 | version: 1 | 92 | version: 1 |