diff options
author | Lorenz Diener <[email protected]> | 2018-07-30 23:19:51 +0200 |
---|---|---|
committer | Lorenz Diener <[email protected]> | 2018-07-30 23:19:51 +0200 |
commit | d0c71b1a8497a3047f630cd1926f803a5190d7aa (patch) | |
tree | f52a76a1160e768de4519e31548a5d1cb1c29c6f /tests/cassettes/test_unauthed_home_tl_throws.yaml | |
parent | 8b06b53ed50e41411857181e4881e54823ed661b (diff) | |
download | mastodon.py-d0c71b1a8497a3047f630cd1926f803a5190d7aa.tar.gz |
Fresh set of tests pre-release
Diffstat (limited to 'tests/cassettes/test_unauthed_home_tl_throws.yaml')
-rw-r--r-- | tests/cassettes/test_unauthed_home_tl_throws.yaml | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/tests/cassettes/test_unauthed_home_tl_throws.yaml b/tests/cassettes/test_unauthed_home_tl_throws.yaml index 9f10ee5..8a552b9 100644 --- a/tests/cassettes/test_unauthed_home_tl_throws.yaml +++ b/tests/cassettes/test_unauthed_home_tl_throws.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":"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 | 15 | body: {string: '{"id":"100465737448921247","created_at":"2018-07-30T21:18:15.757Z","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/100465737448921247","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100465737448921247","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":"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_.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":[]}'} | 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":115,"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/"1fb6c6812b3ba3d494b4b25024cb8b75"] | 22 | ETag: [W/"d1778852e6ae653d39aefc3794e9b1a1"] |
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: [e30dfc57-a1e6-4c2d-8c69-18c0e253a19f] | 30 | X-Request-Id: [122b870e-f76d-4f98-886d-6a650a98719f] |
31 | X-Runtime: ['0.162472'] | 31 | X-Runtime: ['0.176286'] |
32 | X-XSS-Protection: [1; mode=block] | 32 | X-XSS-Protection: [1; mode=block] |
33 | content-length: ['1509'] | 33 | content-length: ['1510'] |
34 | status: {code: 200, message: OK} | 34 | status: {code: 200, message: OK} |
35 | - request: | 35 | - request: |
36 | body: null | 36 | body: null |
@@ -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: [bf539fba-a612-4985-9e42-81964a4f7a9e] | 59 | X-Request-Id: [817556c6-f52d-4c38-ae3f-1558b9fb6ee9] |
60 | X-Runtime: ['0.075716'] | 60 | X-Runtime: ['0.701969'] |
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} |
@@ -71,13 +71,13 @@ interactions: | |||
71 | Content-Length: ['0'] | 71 | Content-Length: ['0'] |
72 | User-Agent: [python-requests/2.18.4] | 72 | User-Agent: [python-requests/2.18.4] |
73 | method: DELETE | 73 | method: DELETE |
74 | uri: http://localhost:3000/api/v1/statuses/100369579568695782 | 74 | uri: http://localhost:3000/api/v1/statuses/100465737448921247 |
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/"dfbee860cec48e54ace407c379c0194e"] | 80 | ETag: [W/"5a88437a1ce4aa843f357aebe512c870"] |
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: [223f0109-1efc-466f-bb36-45a8d45fe34a] | 88 | X-Request-Id: [171ddc5a-d2fc-4203-b0b5-fd1d0e1b9f0b] |
89 | X-Runtime: ['0.053820'] | 89 | X-Runtime: ['0.036189'] |
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} |