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_home_tl_anonymous_throws.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_home_tl_anonymous_throws.yaml')
-rw-r--r-- | tests/cassettes/test_home_tl_anonymous_throws.yaml | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/tests/cassettes/test_home_tl_anonymous_throws.yaml b/tests/cassettes/test_home_tl_anonymous_throws.yaml new file mode 100644 index 0000000..ebf87e3 --- /dev/null +++ b/tests/cassettes/test_home_tl_anonymous_throws.yaml | |||
@@ -0,0 +1,28 @@ | |||
1 | interactions: | ||
2 | - request: | ||
3 | body: null | ||
4 | headers: | ||
5 | Accept: ['*/*'] | ||
6 | Accept-Encoding: ['gzip, deflate'] | ||
7 | Connection: [keep-alive] | ||
8 | User-Agent: [python-requests/2.18.4] | ||
9 | method: GET | ||
10 | uri: http://localhost:3000/api/v1/timelines/home | ||
11 | response: | ||
12 | body: {string: '{"error":"The access token is invalid"}'} | ||
13 | headers: | ||
14 | Cache-Control: [no-store] | ||
15 | Content-Type: [application/json; charset=utf-8] | ||
16 | Pragma: [no-cache] | ||
17 | Transfer-Encoding: [chunked] | ||
18 | Vary: ['Accept-Encoding, Origin'] | ||
19 | WWW-Authenticate: ['Bearer realm="Doorkeeper", error="invalid_token", error_description="The | ||
20 | access token is invalid"'] | ||
21 | X-Content-Type-Options: [nosniff] | ||
22 | X-Frame-Options: [SAMEORIGIN] | ||
23 | X-Request-Id: [aa44c94d-0659-45a2-986d-a3c268195dfb] | ||
24 | X-Runtime: ['0.037813'] | ||
25 | X-XSS-Protection: [1; mode=block] | ||
26 | content-length: ['39'] | ||
27 | status: {code: 401, message: Unauthorized} | ||
28 | version: 1 | ||