diff options
Diffstat (limited to 'tests/cassettes/test_date_hook.yaml')
-rw-r--r-- | tests/cassettes/test_date_hook.yaml | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/tests/cassettes/test_date_hook.yaml b/tests/cassettes/test_date_hook.yaml index 5fd9459..9bd2a79 100644 --- a/tests/cassettes/test_date_hook.yaml +++ b/tests/cassettes/test_date_hook.yaml | |||
@@ -55,4 +55,60 @@ interactions: | |||
55 | X-XSS-Protection: [1; mode=block] | 55 | X-XSS-Protection: [1; mode=block] |
56 | content-length: ['2'] | 56 | content-length: ['2'] |
57 | status: {code: 200, message: OK} | 57 | status: {code: 200, message: OK} |
58 | - request: | ||
59 | body: status=Toot%21 | ||
60 | headers: | ||
61 | Accept: ['*/*'] | ||
62 | Accept-Encoding: ['gzip, deflate'] | ||
63 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] | ||
64 | Connection: [keep-alive] | ||
65 | Content-Length: ['14'] | ||
66 | Content-Type: [application/x-www-form-urlencoded] | ||
67 | User-Agent: [python-requests/2.9.1] | ||
68 | method: POST | ||
69 | uri: http://localhost:3000/api/v1/statuses | ||
70 | response: | ||
71 | body: {string: '{"id":"99882232547455557","created_at":"2018-04-18T20:05:17.585Z","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/99882232547455557","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99882232547455557","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py | ||
72 | test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John | ||
73 | Lennon","locked":true,"created_at":"2018-04-18T20:04:06.511Z","note":"\u003cp\u003eI | ||
74 | 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_.jpe","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpe","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpe","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpe","followers_count":0,"following_count":0,"statuses_count":22},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'} | ||
75 | headers: | ||
76 | Cache-Control: ['max-age=0, private, must-revalidate'] | ||
77 | Content-Type: [application/json; charset=utf-8] | ||
78 | ETag: [W/"97990b34f75f5da7d0a1e601a7bb0823"] | ||
79 | Transfer-Encoding: [chunked] | ||
80 | Vary: ['Accept-Encoding, Origin'] | ||
81 | X-Content-Type-Options: [nosniff] | ||
82 | X-Frame-Options: [SAMEORIGIN] | ||
83 | X-Request-Id: [145c60c3-fc43-4c78-ba30-98bf4608a6eb] | ||
84 | X-Runtime: ['0.317426'] | ||
85 | X-XSS-Protection: [1; mode=block] | ||
86 | content-length: ['1397'] | ||
87 | status: {code: 200, message: OK} | ||
88 | - request: | ||
89 | body: null | ||
90 | headers: | ||
91 | Accept: ['*/*'] | ||
92 | Accept-Encoding: ['gzip, deflate'] | ||
93 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] | ||
94 | Connection: [keep-alive] | ||
95 | Content-Length: ['0'] | ||
96 | User-Agent: [python-requests/2.9.1] | ||
97 | method: DELETE | ||
98 | uri: http://localhost:3000/api/v1/statuses/99882232547455557 | ||
99 | response: | ||
100 | body: {string: '{}'} | ||
101 | headers: | ||
102 | Cache-Control: ['max-age=0, private, must-revalidate'] | ||
103 | Content-Type: [application/json; charset=utf-8] | ||
104 | ETag: [W/"732a336fc6149f593fb37b18039e30cf"] | ||
105 | Transfer-Encoding: [chunked] | ||
106 | Vary: ['Accept-Encoding, Origin'] | ||
107 | X-Content-Type-Options: [nosniff] | ||
108 | X-Frame-Options: [SAMEORIGIN] | ||
109 | X-Request-Id: [1667dd93-20f4-4886-a94b-29e911300b17] | ||
110 | X-Runtime: ['0.043989'] | ||
111 | X-XSS-Protection: [1; mode=block] | ||
112 | content-length: ['2'] | ||
113 | status: {code: 200, message: OK} | ||
58 | version: 1 | 114 | version: 1 |