aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cassettes/test_status_mute_unmute.yaml')
-rw-r--r--tests/cassettes/test_status_mute_unmute.yaml114
1 files changed, 114 insertions, 0 deletions
diff --git a/tests/cassettes/test_status_mute_unmute.yaml b/tests/cassettes/test_status_mute_unmute.yaml
index 4fe5f54..4c97343 100644
--- a/tests/cassettes/test_status_mute_unmute.yaml
+++ b/tests/cassettes/test_status_mute_unmute.yaml
@@ -113,4 +113,118 @@ interactions:
113 X-XSS-Protection: [1; mode=block] 113 X-XSS-Protection: [1; mode=block]
114 content-length: ['2'] 114 content-length: ['2']
115 status: {code: 200, message: OK} 115 status: {code: 200, message: OK}
116- request:
117 body: status=Toot%21
118 headers:
119 Accept: ['*/*']
120 Accept-Encoding: ['gzip, deflate']
121 Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN]
122 Connection: [keep-alive]
123 Content-Length: ['14']
124 Content-Type: [application/x-www-form-urlencoded]
125 User-Agent: [python-requests/2.9.1]
126 method: POST
127 uri: http://localhost:3000/api/v1/statuses
128 response:
129 body: {string: '{"id":"99882235735150058","created_at":"2018-04-18T20:06:06.192Z","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/99882235735150058","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99882235735150058","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py
130 test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
131 Lennon","locked":true,"created_at":"2018-04-18T20:04:06.511Z","note":"\u003cp\u003eI
132 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":21},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'}
133 headers:
134 Cache-Control: ['max-age=0, private, must-revalidate']
135 Content-Type: [application/json; charset=utf-8]
136 ETag: [W/"575b247676959e5eb12065d8ab3c6722"]
137 Transfer-Encoding: [chunked]
138 Vary: ['Accept-Encoding, Origin']
139 X-Content-Type-Options: [nosniff]
140 X-Frame-Options: [SAMEORIGIN]
141 X-Request-Id: [38c51151-5c8a-4419-9418-ae3e5de02aaf]
142 X-Runtime: ['0.174604']
143 X-XSS-Protection: [1; mode=block]
144 content-length: ['1397']
145 status: {code: 200, message: OK}
146- request:
147 body: null
148 headers:
149 Accept: ['*/*']
150 Accept-Encoding: ['gzip, deflate']
151 Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN]
152 Connection: [keep-alive]
153 Content-Length: ['0']
154 User-Agent: [python-requests/2.9.1]
155 method: POST
156 uri: http://localhost:3000/api/v1/statuses/99882235735150058/mute
157 response:
158 body: {string: '{"id":"99882235735150058","created_at":"2018-04-18T20:06:06.192Z","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/99882235735150058","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99882235735150058","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":true,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py
159 test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
160 Lennon","locked":true,"created_at":"2018-04-18T20:04:06.511Z","note":"\u003cp\u003eI
161 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":21},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'}
162 headers:
163 Cache-Control: ['max-age=0, private, must-revalidate']
164 Content-Type: [application/json; charset=utf-8]
165 ETag: [W/"98e55b0efd4efba84efefb5c5bd398a2"]
166 Transfer-Encoding: [chunked]
167 Vary: ['Accept-Encoding, Origin']
168 X-Content-Type-Options: [nosniff]
169 X-Frame-Options: [SAMEORIGIN]
170 X-Request-Id: [4e004362-73c4-4c82-bb6a-44205faa7c27]
171 X-Runtime: ['0.085452']
172 X-XSS-Protection: [1; mode=block]
173 content-length: ['1396']
174 status: {code: 200, message: OK}
175- request:
176 body: null
177 headers:
178 Accept: ['*/*']
179 Accept-Encoding: ['gzip, deflate']
180 Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN]
181 Connection: [keep-alive]
182 Content-Length: ['0']
183 User-Agent: [python-requests/2.9.1]
184 method: POST
185 uri: http://localhost:3000/api/v1/statuses/99882235735150058/unmute
186 response:
187 body: {string: '{"id":"99882235735150058","created_at":"2018-04-18T20:06:06.192Z","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/99882235735150058","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99882235735150058","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py
188 test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
189 Lennon","locked":true,"created_at":"2018-04-18T20:04:06.511Z","note":"\u003cp\u003eI
190 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":21},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'}
191 headers:
192 Cache-Control: ['max-age=0, private, must-revalidate']
193 Content-Type: [application/json; charset=utf-8]
194 ETag: [W/"575b247676959e5eb12065d8ab3c6722"]
195 Transfer-Encoding: [chunked]
196 Vary: ['Accept-Encoding, Origin']
197 X-Content-Type-Options: [nosniff]
198 X-Frame-Options: [SAMEORIGIN]
199 X-Request-Id: [fbb59b60-addf-41e0-87ab-e18c8edaa9b4]
200 X-Runtime: ['0.096551']
201 X-XSS-Protection: [1; mode=block]
202 content-length: ['1397']
203 status: {code: 200, message: OK}
204- request:
205 body: null
206 headers:
207 Accept: ['*/*']
208 Accept-Encoding: ['gzip, deflate']
209 Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN]
210 Connection: [keep-alive]
211 Content-Length: ['0']
212 User-Agent: [python-requests/2.9.1]
213 method: DELETE
214 uri: http://localhost:3000/api/v1/statuses/99882235735150058
215 response:
216 body: {string: '{}'}
217 headers:
218 Cache-Control: ['max-age=0, private, must-revalidate']
219 Content-Type: [application/json; charset=utf-8]
220 ETag: [W/"440290b836cef2a046c67464a1afb83e"]
221 Transfer-Encoding: [chunked]
222 Vary: ['Accept-Encoding, Origin']
223 X-Content-Type-Options: [nosniff]
224 X-Frame-Options: [SAMEORIGIN]
225 X-Request-Id: [8b984be9-df03-49a6-830f-805b56e108e9]
226 X-Runtime: ['0.138492']
227 X-XSS-Protection: [1; mode=block]
228 content-length: ['2']
229 status: {code: 200, message: OK}
116version: 1 230version: 1
Powered by cgit v1.2.3 (git 2.41.0)