diff options
Diffstat (limited to 'tests/cassettes/test_account_mute_unmute.yaml')
-rw-r--r-- | tests/cassettes/test_account_mute_unmute.yaml | 155 |
1 files changed, 110 insertions, 45 deletions
diff --git a/tests/cassettes/test_account_mute_unmute.yaml b/tests/cassettes/test_account_mute_unmute.yaml index 9e842f4..12fd919 100644 --- a/tests/cassettes/test_account_mute_unmute.yaml +++ b/tests/cassettes/test_account_mute_unmute.yaml | |||
@@ -2,58 +2,123 @@ interactions: | |||
2 | - request: | 2 | - request: |
3 | body: notifications=1 | 3 | body: notifications=1 |
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: ['15'] | 9 | Authorization: |
10 | Content-Type: [application/x-www-form-urlencoded] | 10 | - Bearer __MASTODON_PY_TEST_ACCESS_TOKEN |
11 | User-Agent: [python-requests/2.18.4] | 11 | Connection: |
12 | - keep-alive | ||
13 | Content-Length: | ||
14 | - '15' | ||
15 | Content-Type: | ||
16 | - application/x-www-form-urlencoded | ||
17 | User-Agent: | ||
18 | - tests/v311 | ||
12 | method: POST | 19 | method: POST |
13 | uri: http://localhost:3000/api/v1/accounts/1/mute | 20 | uri: http://localhost:3000/api/v1/accounts/1234567890123457/mute |
14 | response: | 21 | response: |
15 | body: {string: '{"id":"1","following":false,"showing_reblogs":false,"followed_by":false,"blocking":false,"blocked_by":false,"muting":true,"muting_notifications":true,"requested":false,"domain_blocking":false,"endorsed":false}'} | 22 | body: |
23 | string: '{"id":"1234567890123457","following":false,"showing_reblogs":false,"notifying":false,"languages":null,"followed_by":false,"blocking":false,"blocked_by":false,"muting":true,"muting_notifications":true,"requested":false,"domain_blocking":false,"endorsed":false,"note":""}' | ||
16 | headers: | 24 | headers: |
17 | Cache-Control: ['no-cache, no-store'] | 25 | Cache-Control: |
18 | Content-Type: [application/json; charset=utf-8] | 26 | - no-store |
19 | Referrer-Policy: [strict-origin-when-cross-origin] | 27 | Content-Security-Policy: |
20 | Transfer-Encoding: [chunked] | 28 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src |
21 | Vary: ['Accept-Encoding, Origin'] | 29 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; |
22 | X-Content-Type-Options: [nosniff] | 30 | style-src ''self'' http://localhost:3000 ''nonce-kRuUFNBUP6nsamzoP5n1cQ==''; |
23 | X-Download-Options: [noopen] | 31 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' |
24 | X-Frame-Options: [SAMEORIGIN] | 32 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' |
25 | X-Permitted-Cross-Domain-Policies: [none] | 33 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 |
26 | X-Request-Id: [9be00b90-1af3-482d-902b-ef18871448ed] | 34 | ws://localhost:3035 http://localhost:3035; script-src ''self'' ''unsafe-inline'' |
27 | X-Runtime: ['0.071758'] | 35 | ''unsafe-eval'' http://localhost:3000; child-src ''self'' blob: http://localhost:3000; |
28 | X-XSS-Protection: [1; mode=block] | 36 | worker-src ''self'' blob: http://localhost:3000' |
29 | content-length: ['209'] | 37 | Content-Type: |
30 | status: {code: 200, message: OK} | 38 | - application/json; charset=utf-8 |
39 | ETag: | ||
40 | - W/"5b5f68b612064b5a0b16d8640f9945e5" | ||
41 | Referrer-Policy: | ||
42 | - strict-origin-when-cross-origin | ||
43 | Transfer-Encoding: | ||
44 | - chunked | ||
45 | Vary: | ||
46 | - Accept, Origin | ||
47 | X-Content-Type-Options: | ||
48 | - nosniff | ||
49 | X-Download-Options: | ||
50 | - noopen | ||
51 | X-Frame-Options: | ||
52 | - SAMEORIGIN | ||
53 | X-Permitted-Cross-Domain-Policies: | ||
54 | - none | ||
55 | X-Request-Id: | ||
56 | - 0cb4e62e-0fc5-49c3-81bd-d30f4f773b17 | ||
57 | X-Runtime: | ||
58 | - '0.024410' | ||
59 | X-XSS-Protection: | ||
60 | - 1; mode=block | ||
61 | status: | ||
62 | code: 200 | ||
63 | message: OK | ||
31 | - request: | 64 | - request: |
32 | body: null | 65 | body: null |
33 | headers: | 66 | headers: |
34 | Accept: ['*/*'] | 67 | Accept: |
35 | Accept-Encoding: ['gzip, deflate'] | 68 | - '*/*' |
36 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] | 69 | Accept-Encoding: |
37 | Connection: [keep-alive] | 70 | - gzip, deflate |
38 | Content-Length: ['0'] | 71 | Authorization: |
39 | User-Agent: [python-requests/2.18.4] | 72 | - Bearer __MASTODON_PY_TEST_ACCESS_TOKEN |
73 | Connection: | ||
74 | - keep-alive | ||
75 | Content-Length: | ||
76 | - '0' | ||
77 | User-Agent: | ||
78 | - tests/v311 | ||
40 | method: POST | 79 | method: POST |
41 | uri: http://localhost:3000/api/v1/accounts/1/unmute | 80 | uri: http://localhost:3000/api/v1/accounts/1234567890123457/unmute |
42 | response: | 81 | response: |
43 | body: {string: '{"id":"1","following":false,"showing_reblogs":false,"followed_by":false,"blocking":false,"blocked_by":false,"muting":false,"muting_notifications":false,"requested":false,"domain_blocking":false,"endorsed":false}'} | 82 | body: |
83 | string: '{"id":"1234567890123457","following":false,"showing_reblogs":false,"notifying":false,"languages":null,"followed_by":false,"blocking":false,"blocked_by":false,"muting":false,"muting_notifications":false,"requested":false,"domain_blocking":false,"endorsed":false,"note":""}' | ||
44 | headers: | 84 | headers: |
45 | Cache-Control: ['no-cache, no-store'] | 85 | Cache-Control: |
46 | Content-Type: [application/json; charset=utf-8] | 86 | - no-store |
47 | Referrer-Policy: [strict-origin-when-cross-origin] | 87 | Content-Security-Policy: |
48 | Transfer-Encoding: [chunked] | 88 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src |
49 | Vary: ['Accept-Encoding, Origin'] | 89 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; |
50 | X-Content-Type-Options: [nosniff] | 90 | style-src ''self'' http://localhost:3000 ''nonce-RMC81XA1B7bj9LHMZ8X13A==''; |
51 | X-Download-Options: [noopen] | 91 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' |
52 | X-Frame-Options: [SAMEORIGIN] | 92 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' |
53 | X-Permitted-Cross-Domain-Policies: [none] | 93 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 |
54 | X-Request-Id: [e57af9ce-83b7-425b-831c-d84b3028a776] | 94 | ws://localhost:3035 http://localhost:3035; script-src ''self'' ''unsafe-inline'' |
55 | X-Runtime: ['0.063936'] | 95 | ''unsafe-eval'' http://localhost:3000; child-src ''self'' blob: http://localhost:3000; |
56 | X-XSS-Protection: [1; mode=block] | 96 | worker-src ''self'' blob: http://localhost:3000' |
57 | content-length: ['211'] | 97 | Content-Type: |
58 | status: {code: 200, message: OK} | 98 | - application/json; charset=utf-8 |
99 | ETag: | ||
100 | - W/"25b4d9d745f6bc92c8314562f7461bc8" | ||
101 | Referrer-Policy: | ||
102 | - strict-origin-when-cross-origin | ||
103 | Transfer-Encoding: | ||
104 | - chunked | ||
105 | Vary: | ||
106 | - Accept, Origin | ||
107 | X-Content-Type-Options: | ||
108 | - nosniff | ||
109 | X-Download-Options: | ||
110 | - noopen | ||
111 | X-Frame-Options: | ||
112 | - SAMEORIGIN | ||
113 | X-Permitted-Cross-Domain-Policies: | ||
114 | - none | ||
115 | X-Request-Id: | ||
116 | - 19824469-7a36-4850-b52a-8497e4c40c77 | ||
117 | X-Runtime: | ||
118 | - '0.021933' | ||
119 | X-XSS-Protection: | ||
120 | - 1; mode=block | ||
121 | status: | ||
122 | code: 200 | ||
123 | message: OK | ||
59 | version: 1 | 124 | version: 1 |