diff options
Diffstat (limited to 'tests/cassettes/test_status.yaml')
-rw-r--r-- | tests/cassettes/test_status.yaml | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/tests/cassettes/test_status.yaml b/tests/cassettes/test_status.yaml index 139a83a..38e756d 100644 --- a/tests/cassettes/test_status.yaml +++ b/tests/cassettes/test_status.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":"101999516791339863","created_at":"2019-04-27T18:18:31.202Z","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/101999516791339863","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost/@mastodonpy_test/101999516791339863","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":"102315368051614345","created_at":"2019-06-22T13:03:38.961Z","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/102315368051614345","url":"http://localhost/@mastodonpy_test/102315368051614345","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":62,"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":1,"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/"aaf157a1475601c43853da912423d345"] | ||
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: [792a7cf9-294c-4f03-bc17-a67b943f8304] | 29 | X-Request-Id: [ec866446-c681-4474-8d67-7ecb5bce733c] |
31 | X-Runtime: ['0.160315'] | 30 | X-Runtime: ['0.175253'] |
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 |
@@ -41,16 +40,15 @@ interactions: | |||
41 | Connection: [keep-alive] | 40 | Connection: [keep-alive] |
42 | User-Agent: [python-requests/2.18.4] | 41 | User-Agent: [python-requests/2.18.4] |
43 | method: GET | 42 | method: GET |
44 | uri: http://localhost:3000/api/v1/statuses/101999516791339863 | 43 | uri: http://localhost:3000/api/v1/statuses/102315368051614345 |
45 | response: | 44 | response: |
46 | body: {string: '{"id":"101999516791339863","created_at":"2019-04-27T18:18:31.202Z","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/101999516791339863","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost/@mastodonpy_test/101999516791339863","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py | 45 | body: {string: '{"id":"102315368051614345","created_at":"2019-06-22T13:03:38.961Z","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/102315368051614345","url":"http://localhost/@mastodonpy_test/102315368051614345","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 |
47 | test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John | 46 | test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John |
48 | Lennon","locked":true,"bot":false,"created_at":"2019-04-27T20:03:12.393Z","note":"\u003cp\u003eI | 47 | Lennon","locked":true,"bot":false,"created_at":"2019-06-22T14:46:28.567Z","note":"\u003cp\u003eI |
49 | 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":62,"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}'} | 48 | 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":1,"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}'} |
50 | headers: | 49 | headers: |
51 | Cache-Control: ['max-age=0, private, must-revalidate'] | 50 | Cache-Control: ['no-cache, no-store'] |
52 | Content-Type: [application/json; charset=utf-8] | 51 | Content-Type: [application/json; charset=utf-8] |
53 | ETag: [W/"aaf157a1475601c43853da912423d345"] | ||
54 | Referrer-Policy: [strict-origin-when-cross-origin] | 52 | Referrer-Policy: [strict-origin-when-cross-origin] |
55 | Transfer-Encoding: [chunked] | 53 | Transfer-Encoding: [chunked] |
56 | Vary: ['Accept-Encoding, Origin'] | 54 | Vary: ['Accept-Encoding, Origin'] |
@@ -58,10 +56,10 @@ interactions: | |||
58 | X-Download-Options: [noopen] | 56 | X-Download-Options: [noopen] |
59 | X-Frame-Options: [SAMEORIGIN] | 57 | X-Frame-Options: [SAMEORIGIN] |
60 | X-Permitted-Cross-Domain-Policies: [none] | 58 | X-Permitted-Cross-Domain-Policies: [none] |
61 | X-Request-Id: [d0f84904-f4a9-489e-8527-f5b34d546a80] | 59 | X-Request-Id: [9e5f6e3f-e26d-4b89-accf-599c0d16439b] |
62 | X-Runtime: ['0.067466'] | 60 | X-Runtime: ['0.089826'] |
63 | X-XSS-Protection: [1; mode=block] | 61 | X-XSS-Protection: [1; mode=block] |
64 | content-length: ['1598'] | 62 | content-length: ['1597'] |
65 | status: {code: 200, message: OK} | 63 | status: {code: 200, message: OK} |
66 | - request: | 64 | - request: |
67 | body: null | 65 | body: null |
@@ -73,13 +71,15 @@ interactions: | |||
73 | Content-Length: ['0'] | 71 | Content-Length: ['0'] |
74 | User-Agent: [python-requests/2.18.4] | 72 | User-Agent: [python-requests/2.18.4] |
75 | method: DELETE | 73 | method: DELETE |
76 | uri: http://localhost:3000/api/v1/statuses/101999516791339863 | 74 | uri: http://localhost:3000/api/v1/statuses/102315368051614345 |
77 | response: | 75 | response: |
78 | body: {string: '{}'} | 76 | body: {string: '{"id":"102315368051614345","created_at":"2019-06-22T13:03:38.961Z","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/102315368051614345","url":"http://localhost/@mastodonpy_test/102315368051614345","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 |
77 | test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John | ||
78 | Lennon","locked":true,"bot":false,"created_at":"2019-06-22T14:46:28.567Z","note":"\u003cp\u003eI | ||
79 | 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":1,"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: | 80 | headers: |
80 | Cache-Control: ['max-age=0, private, must-revalidate'] | 81 | Cache-Control: ['no-cache, no-store'] |
81 | Content-Type: [application/json; charset=utf-8] | 82 | Content-Type: [application/json; charset=utf-8] |
82 | ETag: [W/"ba94a58b98163dd67430ed33e7f2c7a0"] | ||
83 | Referrer-Policy: [strict-origin-when-cross-origin] | 83 | Referrer-Policy: [strict-origin-when-cross-origin] |
84 | Transfer-Encoding: [chunked] | 84 | Transfer-Encoding: [chunked] |
85 | Vary: ['Accept-Encoding, Origin'] | 85 | Vary: ['Accept-Encoding, Origin'] |
@@ -87,9 +87,9 @@ interactions: | |||
87 | X-Download-Options: [noopen] | 87 | X-Download-Options: [noopen] |
88 | X-Frame-Options: [SAMEORIGIN] | 88 | X-Frame-Options: [SAMEORIGIN] |
89 | X-Permitted-Cross-Domain-Policies: [none] | 89 | X-Permitted-Cross-Domain-Policies: [none] |
90 | X-Request-Id: [bcf6dc21-0b90-45a7-b374-a9caef2d8ce6] | 90 | X-Request-Id: [adb4902f-0430-463d-8983-d94639fba96f] |
91 | X-Runtime: ['0.021823'] | 91 | X-Runtime: ['0.125843'] |
92 | X-XSS-Protection: [1; mode=block] | 92 | X-XSS-Protection: [1; mode=block] |
93 | content-length: ['2'] | 93 | content-length: ['1567'] |
94 | status: {code: 200, message: OK} | 94 | status: {code: 200, message: OK} |
95 | version: 1 | 95 | version: 1 |