diff options
author | halcy <halcy@ARARAGI-KUN> | 2022-11-07 23:11:30 +0200 |
---|---|---|
committer | halcy <halcy@ARARAGI-KUN> | 2022-11-07 23:11:30 +0200 |
commit | 3277ca777821e76955fb26d80788939a311db9db (patch) | |
tree | bef0749a451464d00e59fb3c685e6eb6d69a8a78 /tests/cassettes/test_home_tl_anonymous_throws.yaml | |
parent | 33d1e17e2e75884abd6e0a8a3e4a4da388e97e55 (diff) | |
download | mastodon.py-3277ca777821e76955fb26d80788939a311db9db.tar.gz |
Initial test fixing pass. Four tests still fail.
Diffstat (limited to 'tests/cassettes/test_home_tl_anonymous_throws.yaml')
-rw-r--r-- | tests/cassettes/test_home_tl_anonymous_throws.yaml | 74 |
1 files changed, 52 insertions, 22 deletions
diff --git a/tests/cassettes/test_home_tl_anonymous_throws.yaml b/tests/cassettes/test_home_tl_anonymous_throws.yaml index c8841c9..aa5afa7 100644 --- a/tests/cassettes/test_home_tl_anonymous_throws.yaml +++ b/tests/cassettes/test_home_tl_anonymous_throws.yaml | |||
@@ -2,30 +2,60 @@ interactions: | |||
2 | - request: | 2 | - request: |
3 | body: null | 3 | body: null |
4 | headers: | 4 | headers: |
5 | Accept: ['*/*'] | 5 | Accept: |
6 | Accept-Encoding: ['gzip, deflate'] | 6 | - '*/*' |
7 | Connection: [keep-alive] | 7 | Accept-Encoding: |
8 | User-Agent: [python-requests/2.18.4] | 8 | - gzip, deflate |
9 | Connection: | ||
10 | - keep-alive | ||
11 | User-Agent: | ||
12 | - tests/v311 | ||
9 | method: GET | 13 | method: GET |
10 | uri: http://localhost:3000/api/v1/timelines/home | 14 | uri: http://localhost:3000/api/v1/timelines/home |
11 | response: | 15 | response: |
12 | body: {string: '{"error":"The access token is invalid"}'} | 16 | body: |
17 | string: '{"error":"The access token is invalid"}' | ||
13 | headers: | 18 | headers: |
14 | Cache-Control: ['private, no-store'] | 19 | Cache-Control: |
15 | Content-Type: [application/json; charset=utf-8] | 20 | - no-store |
16 | Pragma: [no-cache] | 21 | Content-Security-Policy: |
17 | Referrer-Policy: [strict-origin-when-cross-origin] | 22 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src |
18 | Transfer-Encoding: [chunked] | 23 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; |
19 | Vary: ['Accept-Encoding, Origin'] | 24 | style-src ''self'' http://localhost:3000 ''nonce-dbQWSLJi1UH7uyEIca2ruw==''; |
20 | WWW-Authenticate: ['Bearer realm="Doorkeeper", error="invalid_token", error_description="The | 25 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' |
21 | access token is invalid"'] | 26 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' |
22 | X-Content-Type-Options: [nosniff] | 27 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 |
23 | X-Download-Options: [noopen] | 28 | ws://localhost:3035 http://localhost:3035; script-src ''self'' ''unsafe-inline'' |
24 | X-Frame-Options: [SAMEORIGIN] | 29 | ''unsafe-eval'' http://localhost:3000; child-src ''self'' blob: http://localhost:3000; |
25 | X-Permitted-Cross-Domain-Policies: [none] | 30 | worker-src ''self'' blob: http://localhost:3000' |
26 | X-Request-Id: [34a49889-cfb9-4d71-b3cb-1157026c0ace] | 31 | Content-Type: |
27 | X-Runtime: ['0.025829'] | 32 | - application/json; charset=utf-8 |
28 | X-XSS-Protection: [1; mode=block] | 33 | Pragma: |
29 | content-length: ['39'] | 34 | - no-cache |
30 | status: {code: 401, message: Unauthorized} | 35 | Referrer-Policy: |
36 | - strict-origin-when-cross-origin | ||
37 | Transfer-Encoding: | ||
38 | - chunked | ||
39 | Vary: | ||
40 | - Accept, Origin | ||
41 | WWW-Authenticate: | ||
42 | - Bearer realm="Doorkeeper", error="invalid_token", error_description="The access | ||
43 | token is invalid" | ||
44 | X-Content-Type-Options: | ||
45 | - nosniff | ||
46 | X-Download-Options: | ||
47 | - noopen | ||
48 | X-Frame-Options: | ||
49 | - SAMEORIGIN | ||
50 | X-Permitted-Cross-Domain-Policies: | ||
51 | - none | ||
52 | X-Request-Id: | ||
53 | - 98af1f23-c342-468e-84ed-be1c35c9046b | ||
54 | X-Runtime: | ||
55 | - '0.013509' | ||
56 | X-XSS-Protection: | ||
57 | - 1; mode=block | ||
58 | status: | ||
59 | code: 401 | ||
60 | message: Unauthorized | ||
31 | version: 1 | 61 | version: 1 |