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 75ed01d..46cbbc8 100644 --- a/tests/cassettes/test_status_context.yaml +++ b/tests/cassettes/test_status_context.yaml | |||
@@ -12,14 +12,14 @@ 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":"100465731887481281","created_at":"2018-07-30T21:16:50.899Z","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/100465731887481281","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100465731887481281","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py | 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 |
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":"2018-07-13T23:02:25.260Z","note":"\u003cp\u003eI | 17 | Lennon","locked":true,"bot":false,"created_at":"2019-04-27T20:03:12.393Z","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":111,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'} | 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}'} |
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/"602a60a6eeb024d62ae97bedf934ee56"] | 22 | ETag: [W/"59f021e67eaf36b4c2911c16f3cf0b9c"] |
23 | Referrer-Policy: [strict-origin-when-cross-origin] | 23 | Referrer-Policy: [strict-origin-when-cross-origin] |
24 | Transfer-Encoding: [chunked] | 24 | Transfer-Encoding: [chunked] |
25 | Vary: ['Accept-Encoding, Origin'] | 25 | Vary: ['Accept-Encoding, Origin'] |
@@ -27,10 +27,10 @@ interactions: | |||
27 | X-Download-Options: [noopen] | 27 | X-Download-Options: [noopen] |
28 | X-Frame-Options: [SAMEORIGIN] | 28 | X-Frame-Options: [SAMEORIGIN] |
29 | X-Permitted-Cross-Domain-Policies: [none] | 29 | X-Permitted-Cross-Domain-Policies: [none] |
30 | X-Request-Id: [d4f34d4d-137c-4d83-a2cc-cd1a1a496859] | 30 | X-Request-Id: [718847c6-4a3d-4f9a-9c03-4226764f1658] |
31 | X-Runtime: ['0.214715'] | 31 | X-Runtime: ['0.161023'] |
32 | X-XSS-Protection: [1; mode=block] | 32 | X-XSS-Protection: [1; mode=block] |
33 | content-length: ['1510'] | 33 | content-length: ['1598'] |
34 | status: {code: 200, message: OK} | 34 | status: {code: 200, message: OK} |
35 | - request: | 35 | - request: |
36 | body: null | 36 | body: null |
@@ -41,13 +41,13 @@ interactions: | |||
41 | Connection: [keep-alive] | 41 | Connection: [keep-alive] |
42 | User-Agent: [python-requests/2.18.4] | 42 | User-Agent: [python-requests/2.18.4] |
43 | method: GET | 43 | method: GET |
44 | uri: http://localhost:3000/api/v1/statuses/100465731887481281/context | 44 | uri: http://localhost:3000/api/v1/statuses/101999517217102789/context |
45 | response: | 45 | response: |
46 | body: {string: '{"ancestors":[],"descendants":[]}'} | 46 | body: {string: '{"ancestors":[],"descendants":[]}'} |
47 | headers: | 47 | headers: |
48 | Cache-Control: ['max-age=0, private, must-revalidate'] | 48 | Cache-Control: ['max-age=0, private, must-revalidate'] |
49 | Content-Type: [application/json; charset=utf-8] | 49 | Content-Type: [application/json; charset=utf-8] |
50 | ETag: [W/"99694157158763d2e4bd87f8b65d9fb6"] | 50 | ETag: [W/"e12caf0d1c486ccd247a1c445df1c49f"] |
51 | Referrer-Policy: [strict-origin-when-cross-origin] | 51 | Referrer-Policy: [strict-origin-when-cross-origin] |
52 | Transfer-Encoding: [chunked] | 52 | Transfer-Encoding: [chunked] |
53 | Vary: ['Accept-Encoding, Origin'] | 53 | Vary: ['Accept-Encoding, Origin'] |
@@ -55,8 +55,8 @@ interactions: | |||
55 | X-Download-Options: [noopen] | 55 | X-Download-Options: [noopen] |
56 | X-Frame-Options: [SAMEORIGIN] | 56 | X-Frame-Options: [SAMEORIGIN] |
57 | X-Permitted-Cross-Domain-Policies: [none] | 57 | X-Permitted-Cross-Domain-Policies: [none] |
58 | X-Request-Id: [67c360ce-0c2a-4f30-8b95-4f1080682626] | 58 | X-Request-Id: [b0248ad6-bb12-4760-8605-3720f2f9a3f0] |
59 | X-Runtime: ['0.065622'] | 59 | X-Runtime: ['0.069795'] |
60 | X-XSS-Protection: [1; mode=block] | 60 | X-XSS-Protection: [1; mode=block] |
61 | content-length: ['33'] | 61 | content-length: ['33'] |
62 | status: {code: 200, message: OK} | 62 | status: {code: 200, message: OK} |
@@ -70,13 +70,13 @@ interactions: | |||
70 | Content-Length: ['0'] | 70 | Content-Length: ['0'] |
71 | User-Agent: [python-requests/2.18.4] | 71 | User-Agent: [python-requests/2.18.4] |
72 | method: DELETE | 72 | method: DELETE |
73 | uri: http://localhost:3000/api/v1/statuses/100465731887481281 | 73 | uri: http://localhost:3000/api/v1/statuses/101999517217102789 |
74 | response: | 74 | response: |
75 | body: {string: '{}'} | 75 | body: {string: '{}'} |
76 | headers: | 76 | headers: |
77 | Cache-Control: ['max-age=0, private, must-revalidate'] | 77 | Cache-Control: ['max-age=0, private, must-revalidate'] |
78 | Content-Type: [application/json; charset=utf-8] | 78 | Content-Type: [application/json; charset=utf-8] |
79 | ETag: [W/"11f36da11a2a5a83381b00315584d53d"] | 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,8 +84,8 @@ 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: [933fefcb-01b8-41d5-8924-a8c368690e8d] | 87 | X-Request-Id: [e8dc429d-6778-41c5-ad4e-fa510d0c27b8] |
88 | X-Runtime: ['0.038497'] | 88 | X-Runtime: ['0.024804'] |
89 | X-XSS-Protection: [1; mode=block] | 89 | X-XSS-Protection: [1; mode=block] |
90 | content-length: ['2'] | 90 | content-length: ['2'] |
91 | status: {code: 200, message: OK} | 91 | status: {code: 200, message: OK} |