aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cassettes/test_status_missing.yaml')
-rw-r--r--tests/cassettes/test_status_missing.yaml26
1 files changed, 26 insertions, 0 deletions
diff --git a/tests/cassettes/test_status_missing.yaml b/tests/cassettes/test_status_missing.yaml
new file mode 100644
index 0000000..e591af5
--- /dev/null
+++ b/tests/cassettes/test_status_missing.yaml
@@ -0,0 +1,26 @@
1interactions:
2- request:
3 body: null
4 headers:
5 Accept: ['*/*']
6 Accept-Encoding: ['gzip, deflate']
7 Authorization: [Bearer __MASTODON_PY_TEST_TOKEN]
8 Connection: [keep-alive]
9 User-Agent: [python-requests/2.18.4]
10 method: GET
11 uri: http://localhost:3000/api/v1/statuses/0
12 response:
13 body: {string: '{"error":"Record not found"}'}
14 headers:
15 Cache-Control: [no-cache]
16 Content-Type: [application/json; charset=utf-8]
17 Transfer-Encoding: [chunked]
18 Vary: ['Accept-Encoding, Origin']
19 X-Content-Type-Options: [nosniff]
20 X-Frame-Options: [SAMEORIGIN]
21 X-Request-Id: [5778b7cc-7f26-4887-96a3-9f7ce70b060b]
22 X-Runtime: ['0.019627']
23 X-XSS-Protection: [1; mode=block]
24 content-length: ['28']
25 status: {code: 404, message: Not Found}
26version: 1
Powered by cgit v1.2.3 (git 2.41.0)