aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cassettes/test_unauthed_home_tl_throws.yaml')
-rw-r--r--tests/cassettes/test_unauthed_home_tl_throws.yaml35
1 files changed, 18 insertions, 17 deletions
diff --git a/tests/cassettes/test_unauthed_home_tl_throws.yaml b/tests/cassettes/test_unauthed_home_tl_throws.yaml
index 627fba3..0364a7e 100644
--- a/tests/cassettes/test_unauthed_home_tl_throws.yaml
+++ b/tests/cassettes/test_unauthed_home_tl_throws.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":"101999522650555084","created_at":"2019-04-27T18:20:00.607Z","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/101999522650555084","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost/@mastodonpy_test/101999522650555084","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":"102315371886838822","created_at":"2019-06-22T13:04:37.477Z","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/102315371886838822","url":"http://localhost/@mastodonpy_test/102315371886838822","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":64,"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":2,"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/"2d3d8e3ec1c6124a2fc1a9abfa50be96"]
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: [6b60ce97-dc10-46b8-9b9d-c3552016bef0] 29 X-Request-Id: [1292648b-0989-4d3c-8219-bd95ec23a54b]
31 X-Runtime: ['0.143550'] 30 X-Runtime: ['0.148586']
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
@@ -56,8 +55,8 @@ interactions:
56 X-Download-Options: [noopen] 55 X-Download-Options: [noopen]
57 X-Frame-Options: [SAMEORIGIN] 56 X-Frame-Options: [SAMEORIGIN]
58 X-Permitted-Cross-Domain-Policies: [none] 57 X-Permitted-Cross-Domain-Policies: [none]
59 X-Request-Id: [e96e87b3-3511-4e72-9224-31acb451ca1c] 58 X-Request-Id: [dc554e69-2cf0-40bb-8864-487cec302618]
60 X-Runtime: ['0.032546'] 59 X-Runtime: ['0.069648']
61 X-XSS-Protection: [1; mode=block] 60 X-XSS-Protection: [1; mode=block]
62 content-length: ['39'] 61 content-length: ['39']
63 status: {code: 401, message: Unauthorized} 62 status: {code: 401, message: Unauthorized}
@@ -71,13 +70,15 @@ interactions:
71 Content-Length: ['0'] 70 Content-Length: ['0']
72 User-Agent: [python-requests/2.18.4] 71 User-Agent: [python-requests/2.18.4]
73 method: DELETE 72 method: DELETE
74 uri: http://localhost:3000/api/v1/statuses/101999522650555084 73 uri: http://localhost:3000/api/v1/statuses/102315371886838822
75 response: 74 response:
76 body: {string: '{}'} 75 body: {string: '{"id":"102315371886838822","created_at":"2019-06-22T13:04:37.477Z","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/102315371886838822","url":"http://localhost/@mastodonpy_test/102315371886838822","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
76 test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
77 Lennon","locked":true,"bot":false,"created_at":"2019-06-22T14:46:28.567Z","note":"\u003cp\u003eI
78 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":2,"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}'}
77 headers: 79 headers:
78 Cache-Control: ['max-age=0, private, must-revalidate'] 80 Cache-Control: ['no-cache, no-store']
79 Content-Type: [application/json; charset=utf-8] 81 Content-Type: [application/json; charset=utf-8]
80 ETag: [W/"5aac4bdcf7384ec5fb657333b4d79af8"]
81 Referrer-Policy: [strict-origin-when-cross-origin] 82 Referrer-Policy: [strict-origin-when-cross-origin]
82 Transfer-Encoding: [chunked] 83 Transfer-Encoding: [chunked]
83 Vary: ['Accept-Encoding, Origin'] 84 Vary: ['Accept-Encoding, Origin']
@@ -85,9 +86,9 @@ interactions:
85 X-Download-Options: [noopen] 86 X-Download-Options: [noopen]
86 X-Frame-Options: [SAMEORIGIN] 87 X-Frame-Options: [SAMEORIGIN]
87 X-Permitted-Cross-Domain-Policies: [none] 88 X-Permitted-Cross-Domain-Policies: [none]
88 X-Request-Id: [2c874eca-7ccb-413a-bf3a-e181ae295d1c] 89 X-Request-Id: [7f124627-537e-4ff5-a821-bdc4ea589e75]
89 X-Runtime: ['0.031334'] 90 X-Runtime: ['0.080084']
90 X-XSS-Protection: [1; mode=block] 91 X-XSS-Protection: [1; mode=block]
91 content-length: ['2'] 92 content-length: ['1567']
92 status: {code: 200, message: OK} 93 status: {code: 200, message: OK}
93version: 1 94version: 1
Powered by cgit v1.2.3 (git 2.41.0)