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_preferences.yaml | |
parent | 33d1e17e2e75884abd6e0a8a3e4a4da388e97e55 (diff) | |
download | mastodon.py-3277ca777821e76955fb26d80788939a311db9db.tar.gz |
Initial test fixing pass. Four tests still fail.
Diffstat (limited to 'tests/cassettes/test_preferences.yaml')
-rw-r--r-- | tests/cassettes/test_preferences.yaml | 71 |
1 files changed, 51 insertions, 20 deletions
diff --git a/tests/cassettes/test_preferences.yaml b/tests/cassettes/test_preferences.yaml index 1cc5545..99f7d50 100644 --- a/tests/cassettes/test_preferences.yaml +++ b/tests/cassettes/test_preferences.yaml | |||
@@ -2,28 +2,59 @@ 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 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] | 7 | Accept-Encoding: |
8 | Connection: [keep-alive] | 8 | - gzip, deflate |
9 | User-Agent: [python-requests/2.18.4] | 9 | Authorization: |
10 | - Bearer __MASTODON_PY_TEST_ACCESS_TOKEN | ||
11 | Connection: | ||
12 | - keep-alive | ||
13 | User-Agent: | ||
14 | - tests/v311 | ||
10 | method: GET | 15 | method: GET |
11 | uri: http://localhost:3000/api/v1/preferences | 16 | uri: http://localhost:3000/api/v1/preferences |
12 | response: | 17 | response: |
13 | body: {string: '{"posting:default:visibility":"public","posting:default:sensitive":false,"posting:default:language":null,"reading:expand:media":"default","reading:expand:spoilers":false}'} | 18 | body: |
19 | string: '{"posting:default:visibility":"public","posting:default:sensitive":false,"posting:default:language":"ja","reading:expand:media":"default","reading:expand:spoilers":false}' | ||
14 | headers: | 20 | headers: |
15 | Cache-Control: ['no-cache, no-store'] | 21 | Cache-Control: |
16 | Content-Type: [application/json; charset=utf-8] | 22 | - no-store |
17 | Referrer-Policy: [strict-origin-when-cross-origin] | 23 | Content-Security-Policy: |
18 | Transfer-Encoding: [chunked] | 24 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src |
19 | Vary: ['Accept-Encoding, Origin'] | 25 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; |
20 | X-Content-Type-Options: [nosniff] | 26 | style-src ''self'' http://localhost:3000 ''nonce-Xy8zemEKye6j302zTJrXyQ==''; |
21 | X-Download-Options: [noopen] | 27 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' |
22 | X-Frame-Options: [SAMEORIGIN] | 28 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' |
23 | X-Permitted-Cross-Domain-Policies: [none] | 29 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 |
24 | X-Request-Id: [1d9cde8e-24b1-44cf-a626-fee53f428067] | 30 | ws://localhost:3035 http://localhost:3035; script-src ''self'' ''unsafe-inline'' |
25 | X-Runtime: ['0.052835'] | 31 | ''unsafe-eval'' http://localhost:3000; child-src ''self'' blob: http://localhost:3000; |
26 | X-XSS-Protection: [1; mode=block] | 32 | worker-src ''self'' blob: http://localhost:3000' |
27 | content-length: ['170'] | 33 | Content-Type: |
28 | status: {code: 200, message: OK} | 34 | - application/json; charset=utf-8 |
35 | ETag: | ||
36 | - W/"81528fc9d8eff3ec4bdeefb514b07d2b" | ||
37 | Referrer-Policy: | ||
38 | - strict-origin-when-cross-origin | ||
39 | Transfer-Encoding: | ||
40 | - chunked | ||
41 | Vary: | ||
42 | - Accept, Origin | ||
43 | X-Content-Type-Options: | ||
44 | - nosniff | ||
45 | X-Download-Options: | ||
46 | - noopen | ||
47 | X-Frame-Options: | ||
48 | - SAMEORIGIN | ||
49 | X-Permitted-Cross-Domain-Policies: | ||
50 | - none | ||
51 | X-Request-Id: | ||
52 | - d9058143-6662-48d6-ac78-53c37e421208 | ||
53 | X-Runtime: | ||
54 | - '0.013022' | ||
55 | X-XSS-Protection: | ||
56 | - 1; mode=block | ||
57 | status: | ||
58 | code: 200 | ||
59 | message: OK | ||
29 | version: 1 | 60 | version: 1 |