aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLorenz Diener <[email protected]>2018-07-14 01:07:26 +0200
committerLorenz Diener <[email protected]>2018-07-14 01:07:26 +0200
commit65b1f41e65d5f20136de0bd01f154ecf4134eaf8 (patch)
tree6cb000bf369c5eda54f3ce4dcc5636437a20e9e0 /tests/cassettes/test_unauthed_home_tl_throws.yaml
parent91de8ca061524712cae1d1b327cc2b2881c37548 (diff)
downloadmastodon.py-65b1f41e65d5f20136de0bd01f154ecf4134eaf8.tar.gz
Rerun all tests
Diffstat (limited to 'tests/cassettes/test_unauthed_home_tl_throws.yaml')
-rw-r--r--tests/cassettes/test_unauthed_home_tl_throws.yaml32
1 files changed, 16 insertions, 16 deletions
diff --git a/tests/cassettes/test_unauthed_home_tl_throws.yaml b/tests/cassettes/test_unauthed_home_tl_throws.yaml
index 6ce4a23..9f10ee5 100644
--- a/tests/cassettes/test_unauthed_home_tl_throws.yaml
+++ b/tests/cassettes/test_unauthed_home_tl_throws.yaml
@@ -8,18 +8,18 @@ interactions:
8 Connection: [keep-alive] 8 Connection: [keep-alive]
9 Content-Length: ['14'] 9 Content-Length: ['14']
10 Content-Type: [application/x-www-form-urlencoded] 10 Content-Type: [application/x-www-form-urlencoded]
11 User-Agent: [python-requests/2.9.1] 11 User-Agent: [python-requests/2.18.4]
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":"100154014266622548","created_at":"2018-06-05T20:02:57.491Z","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/100154014266622548","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100154014266622548","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py 15 body: {string: '{"id":"100369579568695782","created_at":"2018-07-13T21:44:02.938Z","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/100369579568695782","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100369579568695782","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-06-05T21:58:43.069Z","note":"\u003cp\u003eI 17 Lennon","locked":true,"bot":false,"created_at":"2018-07-13T23:02:25.260Z","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_.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","followers_count":0,"following_count":1,"statuses_count":24,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"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":60,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"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/"49ad53dc9cf7569e155f6cf5ada733f2"] 22 ETag: [W/"1fb6c6812b3ba3d494b4b25024cb8b75"]
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: [15092df1-e3e3-4bd9-905a-baf66fe184b0] 30 X-Request-Id: [e30dfc57-a1e6-4c2d-8c69-18c0e253a19f]
31 X-Runtime: ['0.348031'] 31 X-Runtime: ['0.162472']
32 X-XSS-Protection: [1; mode=block] 32 X-XSS-Protection: [1; mode=block]
33 content-length: ['1505'] 33 content-length: ['1509']
34 status: {code: 200, message: OK} 34 status: {code: 200, message: OK}
35- request: 35- request:
36 body: null 36 body: null
@@ -38,7 +38,7 @@ interactions:
38 Accept: ['*/*'] 38 Accept: ['*/*']
39 Accept-Encoding: ['gzip, deflate'] 39 Accept-Encoding: ['gzip, deflate']
40 Connection: [keep-alive] 40 Connection: [keep-alive]
41 User-Agent: [python-requests/2.9.1] 41 User-Agent: [python-requests/2.18.4]
42 method: GET 42 method: GET
43 uri: http://localhost:3000/api/v1/timelines/home 43 uri: http://localhost:3000/api/v1/timelines/home
44 response: 44 response:
@@ -56,8 +56,8 @@ interactions:
56 X-Download-Options: [noopen] 56 X-Download-Options: [noopen]
57 X-Frame-Options: [SAMEORIGIN] 57 X-Frame-Options: [SAMEORIGIN]
58 X-Permitted-Cross-Domain-Policies: [none] 58 X-Permitted-Cross-Domain-Policies: [none]
59 X-Request-Id: [a7f0d81e-0a78-4681-8595-ac479f4cdc1d] 59 X-Request-Id: [bf539fba-a612-4985-9e42-81964a4f7a9e]
60 X-Runtime: ['0.147048'] 60 X-Runtime: ['0.075716']
61 X-XSS-Protection: [1; mode=block] 61 X-XSS-Protection: [1; mode=block]
62 content-length: ['39'] 62 content-length: ['39']
63 status: {code: 401, message: Unauthorized} 63 status: {code: 401, message: Unauthorized}
@@ -69,15 +69,15 @@ interactions:
69 Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] 69 Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN]
70 Connection: [keep-alive] 70 Connection: [keep-alive]
71 Content-Length: ['0'] 71 Content-Length: ['0']
72 User-Agent: [python-requests/2.9.1] 72 User-Agent: [python-requests/2.18.4]
73 method: DELETE 73 method: DELETE
74 uri: http://localhost:3000/api/v1/statuses/100154014266622548 74 uri: http://localhost:3000/api/v1/statuses/100369579568695782
75 response: 75 response:
76 body: {string: '{}'} 76 body: {string: '{}'}
77 headers: 77 headers:
78 Cache-Control: ['max-age=0, private, must-revalidate'] 78 Cache-Control: ['max-age=0, private, must-revalidate']
79 Content-Type: [application/json; charset=utf-8] 79 Content-Type: [application/json; charset=utf-8]
80 ETag: [W/"e2f69ff1fb19e5c6a4b1b02f0930c139"] 80 ETag: [W/"dfbee860cec48e54ace407c379c0194e"]
81 Referrer-Policy: [strict-origin-when-cross-origin] 81 Referrer-Policy: [strict-origin-when-cross-origin]
82 Transfer-Encoding: [chunked] 82 Transfer-Encoding: [chunked]
83 Vary: ['Accept-Encoding, Origin'] 83 Vary: ['Accept-Encoding, Origin']
@@ -85,8 +85,8 @@ interactions:
85 X-Download-Options: [noopen] 85 X-Download-Options: [noopen]
86 X-Frame-Options: [SAMEORIGIN] 86 X-Frame-Options: [SAMEORIGIN]
87 X-Permitted-Cross-Domain-Policies: [none] 87 X-Permitted-Cross-Domain-Policies: [none]
88 X-Request-Id: [ce6332a6-dfb2-4f05-bf90-b20e42341be4] 88 X-Request-Id: [223f0109-1efc-466f-bb36-45a8d45fe34a]
89 X-Runtime: ['0.069790'] 89 X-Runtime: ['0.053820']
90 X-XSS-Protection: [1; mode=block] 90 X-XSS-Protection: [1; mode=block]
91 content-length: ['2'] 91 content-length: ['2']
92 status: {code: 200, message: OK} 92 status: {code: 200, message: OK}
Powered by cgit v1.2.3 (git 2.41.0)