diff options
author | Lorenz Diener <[email protected]> | 2019-10-11 23:59:24 +0200 |
---|---|---|
committer | Lorenz Diener <[email protected]> | 2019-10-11 23:59:24 +0200 |
commit | 437f68c29a18303de3c75962021bbe030b2cf85c (patch) | |
tree | 83b7ba151a3e52163fd7048f82672394bcbb3865 /tests/cassettes/test_unauthed_home_tl_throws.yaml | |
parent | 2c2f55fd63e4096580f4d56279c261cedb1be1a9 (diff) | |
download | mastodon.py-437f68c29a18303de3c75962021bbe030b2cf85c.tar.gz |
Update tests for 3.0.1 and fix regressions
Diffstat (limited to 'tests/cassettes/test_unauthed_home_tl_throws.yaml')
-rw-r--r-- | tests/cassettes/test_unauthed_home_tl_throws.yaml | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/tests/cassettes/test_unauthed_home_tl_throws.yaml b/tests/cassettes/test_unauthed_home_tl_throws.yaml index f1151b0..fa19d5f 100644 --- a/tests/cassettes/test_unauthed_home_tl_throws.yaml +++ b/tests/cassettes/test_unauthed_home_tl_throws.yaml | |||
@@ -12,8 +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":"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 | 15 | body: {string: '{"id":"102945957721016939","created_at":"2019-10-11T21:50:53.709Z","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/102945957721016939","url":"http://localhost/@mastodonpy_test/102945957721016939","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":"","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}'} | 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":3,"last_status_at":"2019-10-11T21:50:53.720Z","emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'} |
17 | headers: | 17 | headers: |
18 | Cache-Control: ['no-cache, no-store'] | 18 | Cache-Control: ['no-cache, no-store'] |
19 | Content-Type: [application/json; charset=utf-8] | 19 | Content-Type: [application/json; charset=utf-8] |
@@ -24,10 +24,10 @@ interactions: | |||
24 | X-Download-Options: [noopen] | 24 | X-Download-Options: [noopen] |
25 | X-Frame-Options: [SAMEORIGIN] | 25 | X-Frame-Options: [SAMEORIGIN] |
26 | X-Permitted-Cross-Domain-Policies: [none] | 26 | X-Permitted-Cross-Domain-Policies: [none] |
27 | X-Request-Id: [e18e13f5-085e-4fae-9ceb-5614784e5ea2] | 27 | X-Request-Id: [f8295ef5-77ce-428e-9ace-f03a31e102af] |
28 | X-Runtime: ['0.164675'] | 28 | X-Runtime: ['0.177933'] |
29 | X-XSS-Protection: [1; mode=block] | 29 | X-XSS-Protection: [1; mode=block] |
30 | content-length: ['1236'] | 30 | content-length: ['1280'] |
31 | status: {code: 200, message: OK} | 31 | status: {code: 200, message: OK} |
32 | - request: | 32 | - request: |
33 | body: null | 33 | body: null |
@@ -53,8 +53,8 @@ interactions: | |||
53 | X-Download-Options: [noopen] | 53 | X-Download-Options: [noopen] |
54 | X-Frame-Options: [SAMEORIGIN] | 54 | X-Frame-Options: [SAMEORIGIN] |
55 | X-Permitted-Cross-Domain-Policies: [none] | 55 | X-Permitted-Cross-Domain-Policies: [none] |
56 | X-Request-Id: [5289df5d-4f3b-42d8-a1b1-16e1ae0b7d8d] | 56 | X-Request-Id: [fa5ac650-ccfb-4808-996f-b2c5c70637ae] |
57 | X-Runtime: ['0.042386'] | 57 | X-Runtime: ['0.042082'] |
58 | X-XSS-Protection: [1; mode=block] | 58 | X-XSS-Protection: [1; mode=block] |
59 | content-length: ['39'] | 59 | content-length: ['39'] |
60 | status: {code: 401, message: Unauthorized} | 60 | status: {code: 401, message: Unauthorized} |
@@ -68,10 +68,10 @@ interactions: | |||
68 | Content-Length: ['0'] | 68 | Content-Length: ['0'] |
69 | User-Agent: [python-requests/2.18.4] | 69 | User-Agent: [python-requests/2.18.4] |
70 | method: DELETE | 70 | method: DELETE |
71 | uri: http://localhost:3000/api/v1/statuses/102317296737119679 | 71 | uri: http://localhost:3000/api/v1/statuses/102945957721016939 |
72 | response: | 72 | response: |
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 | 73 | body: {string: '{"id":"102945957721016939","created_at":"2019-10-11T21:50:53.709Z","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/102945957721016939","url":"http://localhost/@mastodonpy_test/102945957721016939","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":"","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}'} | 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":3,"last_status_at":"2019-10-11T21:50:53.720Z","emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'} |
75 | headers: | 75 | headers: |
76 | Cache-Control: ['no-cache, no-store'] | 76 | Cache-Control: ['no-cache, no-store'] |
77 | Content-Type: [application/json; charset=utf-8] | 77 | Content-Type: [application/json; charset=utf-8] |
@@ -82,9 +82,9 @@ interactions: | |||
82 | X-Download-Options: [noopen] | 82 | X-Download-Options: [noopen] |
83 | X-Frame-Options: [SAMEORIGIN] | 83 | X-Frame-Options: [SAMEORIGIN] |
84 | X-Permitted-Cross-Domain-Policies: [none] | 84 | X-Permitted-Cross-Domain-Policies: [none] |
85 | X-Request-Id: [062bfb96-0f83-430a-a153-ab50593bc3ed] | 85 | X-Request-Id: [9d666b1a-fd56-4300-95a1-28feb36ff7a5] |
86 | X-Runtime: ['0.072295'] | 86 | X-Runtime: ['0.098543'] |
87 | X-XSS-Protection: [1; mode=block] | 87 | X-XSS-Protection: [1; mode=block] |
88 | content-length: ['1206'] | 88 | content-length: ['1250'] |
89 | status: {code: 200, message: OK} | 89 | status: {code: 200, message: OK} |
90 | version: 1 | 90 | version: 1 |