diff options
author | Lorenz Diener <[email protected]> | 2017-11-29 17:48:56 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2017-11-29 17:48:56 +0100 |
commit | 961425e2abc91d693004f2c0d073e387de64e58c (patch) | |
tree | 8b1512daf97ab63b54f4edebc83b35f524571c53 /tests/cassettes/test_status_missing.yaml | |
parent | 5b811b719d379be06ed256da2ee806a051461795 (diff) | |
parent | e79987df2410ee32302abed9e486a72b2dfc9707 (diff) | |
download | mastodon.py-961425e2abc91d693004f2c0d073e387de64e58c.tar.gz |
Merge pull request #109 from codl/test-suite
Test suite
Diffstat (limited to 'tests/cassettes/test_status_missing.yaml')
-rw-r--r-- | tests/cassettes/test_status_missing.yaml | 26 |
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 @@ | |||
1 | interactions: | ||
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} | ||
26 | version: 1 | ||