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_filter_update.yaml | |
parent | 33d1e17e2e75884abd6e0a8a3e4a4da388e97e55 (diff) | |
download | mastodon.py-3277ca777821e76955fb26d80788939a311db9db.tar.gz |
Initial test fixing pass. Four tests still fail.
Diffstat (limited to 'tests/cassettes/test_filter_update.yaml')
-rw-r--r-- | tests/cassettes/test_filter_update.yaml | 87 |
1 files changed, 0 insertions, 87 deletions
diff --git a/tests/cassettes/test_filter_update.yaml b/tests/cassettes/test_filter_update.yaml deleted file mode 100644 index 86e9842..0000000 --- a/tests/cassettes/test_filter_update.yaml +++ /dev/null | |||
@@ -1,87 +0,0 @@ | |||
1 | interactions: | ||
2 | - request: | ||
3 | body: whole_word=1&irreversible=0&phrase=anime&context%5B%5D=notifications | ||
4 | headers: | ||
5 | Accept: ['*/*'] | ||
6 | Accept-Encoding: ['gzip, deflate'] | ||
7 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] | ||
8 | Connection: [keep-alive] | ||
9 | Content-Length: ['68'] | ||
10 | Content-Type: [application/x-www-form-urlencoded] | ||
11 | User-Agent: [python-requests/2.18.4] | ||
12 | method: POST | ||
13 | uri: http://localhost:3000/api/v1/filters | ||
14 | response: | ||
15 | body: {string: '{"id":"3","phrase":"anime","context":["notifications"],"whole_word":true,"expires_at":null,"irreversible":false}'} | ||
16 | headers: | ||
17 | Cache-Control: ['no-cache, no-store'] | ||
18 | Content-Type: [application/json; charset=utf-8] | ||
19 | Referrer-Policy: [strict-origin-when-cross-origin] | ||
20 | Transfer-Encoding: [chunked] | ||
21 | Vary: ['Accept-Encoding, Origin'] | ||
22 | X-Content-Type-Options: [nosniff] | ||
23 | X-Download-Options: [noopen] | ||
24 | X-Frame-Options: [SAMEORIGIN] | ||
25 | X-Permitted-Cross-Domain-Policies: [none] | ||
26 | X-Request-Id: [220c49fb-ac0c-488e-a28c-2c6e929b28b4] | ||
27 | X-Runtime: ['0.036281'] | ||
28 | X-XSS-Protection: [1; mode=block] | ||
29 | content-length: ['112'] | ||
30 | status: {code: 200, message: OK} | ||
31 | - request: | ||
32 | body: phrase=japanimation | ||
33 | headers: | ||
34 | Accept: ['*/*'] | ||
35 | Accept-Encoding: ['gzip, deflate'] | ||
36 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] | ||
37 | Connection: [keep-alive] | ||
38 | Content-Length: ['19'] | ||
39 | Content-Type: [application/x-www-form-urlencoded] | ||
40 | User-Agent: [python-requests/2.18.4] | ||
41 | method: PUT | ||
42 | uri: http://localhost:3000/api/v1/filters/3 | ||
43 | response: | ||
44 | body: {string: '{"id":"3","phrase":"japanimation","context":["notifications"],"whole_word":true,"expires_at":null,"irreversible":false}'} | ||
45 | headers: | ||
46 | Cache-Control: ['no-cache, no-store'] | ||
47 | Content-Type: [application/json; charset=utf-8] | ||
48 | Referrer-Policy: [strict-origin-when-cross-origin] | ||
49 | Transfer-Encoding: [chunked] | ||
50 | Vary: ['Accept-Encoding, Origin'] | ||
51 | X-Content-Type-Options: [nosniff] | ||
52 | X-Download-Options: [noopen] | ||
53 | X-Frame-Options: [SAMEORIGIN] | ||
54 | X-Permitted-Cross-Domain-Policies: [none] | ||
55 | X-Request-Id: [db1bb32d-5f6d-41a2-9b61-5197030c32b0] | ||
56 | X-Runtime: ['0.033542'] | ||
57 | X-XSS-Protection: [1; mode=block] | ||
58 | content-length: ['119'] | ||
59 | status: {code: 200, message: OK} | ||
60 | - request: | ||
61 | body: null | ||
62 | headers: | ||
63 | Accept: ['*/*'] | ||
64 | Accept-Encoding: ['gzip, deflate'] | ||
65 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] | ||
66 | Connection: [keep-alive] | ||
67 | User-Agent: [python-requests/2.18.4] | ||
68 | method: GET | ||
69 | uri: http://localhost:3000/api/v1/filters/3 | ||
70 | response: | ||
71 | body: {string: '{"id":"3","phrase":"japanimation","context":["notifications"],"whole_word":true,"expires_at":null,"irreversible":false}'} | ||
72 | headers: | ||
73 | Cache-Control: ['no-cache, no-store'] | ||
74 | Content-Type: [application/json; charset=utf-8] | ||
75 | Referrer-Policy: [strict-origin-when-cross-origin] | ||
76 | Transfer-Encoding: [chunked] | ||
77 | Vary: ['Accept-Encoding, Origin'] | ||
78 | X-Content-Type-Options: [nosniff] | ||
79 | X-Download-Options: [noopen] | ||
80 | X-Frame-Options: [SAMEORIGIN] | ||
81 | X-Permitted-Cross-Domain-Policies: [none] | ||
82 | X-Request-Id: [3123dbc3-1ecb-47c7-8934-13b14fcad219] | ||
83 | X-Runtime: ['0.042994'] | ||
84 | X-XSS-Protection: [1; mode=block] | ||
85 | content-length: ['119'] | ||
86 | status: {code: 200, message: OK} | ||
87 | version: 1 | ||