aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLorenz Diener <[email protected]>2019-06-22 23:16:47 +0200
committerLorenz Diener <[email protected]>2019-06-22 23:16:47 +0200
commit225c8ca76a8fc6eb2a87a8156b7ce808d3b06507 (patch)
tree58a331db57609ca038d9428f27b064a4c1b32854 /tests/cassettes/test_unauthed_home_tl_throws.yaml
parentf920f8b58429b5d7dea43442765df824ac04bf91 (diff)
downloadmastodon.py-225c8ca76a8fc6eb2a87a8156b7ce808d3b06507.tar.gz
Fresh batch of test runs
Diffstat (limited to 'tests/cassettes/test_unauthed_home_tl_throws.yaml')
-rw-r--r--tests/cassettes/test_unauthed_home_tl_throws.yaml30
1 files changed, 13 insertions, 17 deletions
diff --git a/tests/cassettes/test_unauthed_home_tl_throws.yaml b/tests/cassettes/test_unauthed_home_tl_throws.yaml
index 0364a7e..f1151b0 100644
--- a/tests/cassettes/test_unauthed_home_tl_throws.yaml
+++ b/tests/cassettes/test_unauthed_home_tl_throws.yaml
@@ -12,10 +12,8 @@ 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":"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 15 body: {string: '{"id":"102317296737119679","created_at":"2019-06-22T21:14:08.362Z","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/102317296737119679","url":"http://localhost/@mastodonpy_test/102317296737119679","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":"","locked":false,"bot":false,"created_at":"2019-06-22T23:11:52.441Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/avatars/original/missing.png","avatar_static":"http://localhost/avatars/original/missing.png","header":"http://localhost/headers/original/missing.png","header_static":"http://localhost/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":2,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'}
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?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: 17 headers:
20 Cache-Control: ['no-cache, no-store'] 18 Cache-Control: ['no-cache, no-store']
21 Content-Type: [application/json; charset=utf-8] 19 Content-Type: [application/json; charset=utf-8]
@@ -26,10 +24,10 @@ interactions:
26 X-Download-Options: [noopen] 24 X-Download-Options: [noopen]
27 X-Frame-Options: [SAMEORIGIN] 25 X-Frame-Options: [SAMEORIGIN]
28 X-Permitted-Cross-Domain-Policies: [none] 26 X-Permitted-Cross-Domain-Policies: [none]
29 X-Request-Id: [1292648b-0989-4d3c-8219-bd95ec23a54b] 27 X-Request-Id: [e18e13f5-085e-4fae-9ceb-5614784e5ea2]
30 X-Runtime: ['0.148586'] 28 X-Runtime: ['0.164675']
31 X-XSS-Protection: [1; mode=block] 29 X-XSS-Protection: [1; mode=block]
32 content-length: ['1597'] 30 content-length: ['1236']
33 status: {code: 200, message: OK} 31 status: {code: 200, message: OK}
34- request: 32- request:
35 body: null 33 body: null
@@ -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: [dc554e69-2cf0-40bb-8864-487cec302618] 56 X-Request-Id: [5289df5d-4f3b-42d8-a1b1-16e1ae0b7d8d]
59 X-Runtime: ['0.069648'] 57 X-Runtime: ['0.042386']
60 X-XSS-Protection: [1; mode=block] 58 X-XSS-Protection: [1; mode=block]
61 content-length: ['39'] 59 content-length: ['39']
62 status: {code: 401, message: Unauthorized} 60 status: {code: 401, message: Unauthorized}
@@ -70,12 +68,10 @@ 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/102315371886838822 71 uri: http://localhost:3000/api/v1/statuses/102317296737119679
74 response: 72 response:
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 73 body: {string: '{"id":"102317296737119679","created_at":"2019-06-22T21:14:08.362Z","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/102317296737119679","url":"http://localhost/@mastodonpy_test/102317296737119679","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 74 test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"","locked":false,"bot":false,"created_at":"2019-06-22T23:11:52.441Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/avatars/original/missing.png","avatar_static":"http://localhost/avatars/original/missing.png","header":"http://localhost/headers/original/missing.png","header_static":"http://localhost/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":2,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'}
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}'}
79 headers: 75 headers:
80 Cache-Control: ['no-cache, no-store'] 76 Cache-Control: ['no-cache, no-store']
81 Content-Type: [application/json; charset=utf-8] 77 Content-Type: [application/json; charset=utf-8]
@@ -86,9 +82,9 @@ interactions:
86 X-Download-Options: [noopen] 82 X-Download-Options: [noopen]
87 X-Frame-Options: [SAMEORIGIN] 83 X-Frame-Options: [SAMEORIGIN]
88 X-Permitted-Cross-Domain-Policies: [none] 84 X-Permitted-Cross-Domain-Policies: [none]
89 X-Request-Id: [7f124627-537e-4ff5-a821-bdc4ea589e75] 85 X-Request-Id: [062bfb96-0f83-430a-a153-ab50593bc3ed]
90 X-Runtime: ['0.080084'] 86 X-Runtime: ['0.072295']
91 X-XSS-Protection: [1; mode=block] 87 X-XSS-Protection: [1; mode=block]
92 content-length: ['1567'] 88 content-length: ['1206']
93 status: {code: 200, message: OK} 89 status: {code: 200, message: OK}
94version: 1 90version: 1
Powered by cgit v1.2.3 (git 2.41.0)