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_notifications_clear.yaml | |
parent | 33d1e17e2e75884abd6e0a8a3e4a4da388e97e55 (diff) | |
download | mastodon.py-3277ca777821e76955fb26d80788939a311db9db.tar.gz |
Initial test fixing pass. Four tests still fail.
Diffstat (limited to 'tests/cassettes/test_notifications_clear.yaml')
-rw-r--r-- | tests/cassettes/test_notifications_clear.yaml | 74 |
1 files changed, 53 insertions, 21 deletions
diff --git a/tests/cassettes/test_notifications_clear.yaml b/tests/cassettes/test_notifications_clear.yaml index bc4c7a6..762ed48 100644 --- a/tests/cassettes/test_notifications_clear.yaml +++ b/tests/cassettes/test_notifications_clear.yaml | |||
@@ -2,29 +2,61 @@ 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 | Content-Length: ['0'] | 9 | Authorization: |
10 | User-Agent: [python-requests/2.18.4] | 10 | - Bearer __MASTODON_PY_TEST_ACCESS_TOKEN |
11 | Connection: | ||
12 | - keep-alive | ||
13 | Content-Length: | ||
14 | - '0' | ||
15 | User-Agent: | ||
16 | - tests/v311 | ||
11 | method: POST | 17 | method: POST |
12 | uri: http://localhost:3000/api/v1/notifications/clear | 18 | uri: http://localhost:3000/api/v1/notifications/clear |
13 | response: | 19 | response: |
14 | body: {string: '{}'} | 20 | body: |
21 | string: '{}' | ||
15 | headers: | 22 | headers: |
16 | Cache-Control: ['no-cache, no-store'] | 23 | Cache-Control: |
17 | Content-Type: [application/json; charset=utf-8] | 24 | - no-store |
18 | Referrer-Policy: [strict-origin-when-cross-origin] | 25 | Content-Security-Policy: |
19 | Transfer-Encoding: [chunked] | 26 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src |
20 | Vary: ['Accept-Encoding, Origin'] | 27 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; |
21 | X-Content-Type-Options: [nosniff] | 28 | style-src ''self'' http://localhost:3000 ''nonce-3Z/rDSqALsTDGmGLRoIxQg==''; |
22 | X-Download-Options: [noopen] | 29 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' |
23 | X-Frame-Options: [SAMEORIGIN] | 30 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' |
24 | X-Permitted-Cross-Domain-Policies: [none] | 31 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 |
25 | X-Request-Id: [e058ef59-45e3-425f-bab4-a9e459325db6] | 32 | ws://localhost:3035 http://localhost:3035; script-src ''self'' ''unsafe-inline'' |
26 | X-Runtime: ['0.033612'] | 33 | ''unsafe-eval'' http://localhost:3000; child-src ''self'' blob: http://localhost:3000; |
27 | X-XSS-Protection: [1; mode=block] | 34 | worker-src ''self'' blob: http://localhost:3000' |
28 | content-length: ['2'] | 35 | Content-Type: |
29 | status: {code: 200, message: OK} | 36 | - application/json; charset=utf-8 |
37 | ETag: | ||
38 | - W/"44136fa355b3678a1146ad16f7e8649e" | ||
39 | Referrer-Policy: | ||
40 | - strict-origin-when-cross-origin | ||
41 | Transfer-Encoding: | ||
42 | - chunked | ||
43 | Vary: | ||
44 | - Accept, Origin | ||
45 | X-Content-Type-Options: | ||
46 | - nosniff | ||
47 | X-Download-Options: | ||
48 | - noopen | ||
49 | X-Frame-Options: | ||
50 | - SAMEORIGIN | ||
51 | X-Permitted-Cross-Domain-Policies: | ||
52 | - none | ||
53 | X-Request-Id: | ||
54 | - be8bfcb5-f553-4c69-bd67-02c8066489d2 | ||
55 | X-Runtime: | ||
56 | - '0.010079' | ||
57 | X-XSS-Protection: | ||
58 | - 1; mode=block | ||
59 | status: | ||
60 | code: 200 | ||
61 | message: OK | ||
30 | version: 1 | 62 | version: 1 |