diff options
Diffstat (limited to 'tests/cassettes/test_account_mute_unmute.yaml')
-rw-r--r-- | tests/cassettes/test_account_mute_unmute.yaml | 64 |
1 files changed, 6 insertions, 58 deletions
diff --git a/tests/cassettes/test_account_mute_unmute.yaml b/tests/cassettes/test_account_mute_unmute.yaml index 3ca8b55..81b2fb4 100644 --- a/tests/cassettes/test_account_mute_unmute.yaml +++ b/tests/cassettes/test_account_mute_unmute.yaml | |||
@@ -15,13 +15,13 @@ interactions: | |||
15 | headers: | 15 | headers: |
16 | Cache-Control: ['max-age=0, private, must-revalidate'] | 16 | Cache-Control: ['max-age=0, private, must-revalidate'] |
17 | Content-Type: [application/json; charset=utf-8] | 17 | Content-Type: [application/json; charset=utf-8] |
18 | ETag: [W/"bad0a6406a3864e574a59a1ccf46db20"] | 18 | ETag: [W/"a2ef8797df0b890961779d6460232833"] |
19 | Transfer-Encoding: [chunked] | 19 | Transfer-Encoding: [chunked] |
20 | Vary: ['Accept-Encoding, Origin'] | 20 | Vary: ['Accept-Encoding, Origin'] |
21 | X-Content-Type-Options: [nosniff] | 21 | X-Content-Type-Options: [nosniff] |
22 | X-Frame-Options: [SAMEORIGIN] | 22 | X-Frame-Options: [SAMEORIGIN] |
23 | X-Request-Id: [c8d0df54-8920-4d93-a426-2df9b1f20449] | 23 | X-Request-Id: [46a68ff1-d44a-4968-8644-fe2ccf895909] |
24 | X-Runtime: ['0.157243'] | 24 | X-Runtime: ['0.137282'] |
25 | X-XSS-Protection: [1; mode=block] | 25 | X-XSS-Protection: [1; mode=block] |
26 | content-length: ['173'] | 26 | content-length: ['173'] |
27 | status: {code: 200, message: OK} | 27 | status: {code: 200, message: OK} |
@@ -41,65 +41,13 @@ interactions: | |||
41 | headers: | 41 | headers: |
42 | Cache-Control: ['max-age=0, private, must-revalidate'] | 42 | Cache-Control: ['max-age=0, private, must-revalidate'] |
43 | Content-Type: [application/json; charset=utf-8] | 43 | Content-Type: [application/json; charset=utf-8] |
44 | ETag: [W/"87221e47b85c075458d260d65c52aa13"] | 44 | ETag: [W/"4e5bdb0c2073b9e61052d5ff830594ca"] |
45 | Transfer-Encoding: [chunked] | 45 | Transfer-Encoding: [chunked] |
46 | Vary: ['Accept-Encoding, Origin'] | 46 | Vary: ['Accept-Encoding, Origin'] |
47 | X-Content-Type-Options: [nosniff] | 47 | X-Content-Type-Options: [nosniff] |
48 | X-Frame-Options: [SAMEORIGIN] | 48 | X-Frame-Options: [SAMEORIGIN] |
49 | X-Request-Id: [22c3069c-f9e3-444c-ab9a-b330af09d17b] | 49 | X-Request-Id: [badf01d7-f9ff-48b3-b7b3-b22bfcaafba0] |
50 | X-Runtime: ['0.044107'] | 50 | X-Runtime: ['0.077923'] |
51 | X-XSS-Protection: [1; mode=block] | ||
52 | content-length: ['175'] | ||
53 | status: {code: 200, message: OK} | ||
54 | - request: | ||
55 | body: null | ||
56 | headers: | ||
57 | Accept: ['*/*'] | ||
58 | Accept-Encoding: ['gzip, deflate'] | ||
59 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] | ||
60 | Connection: [keep-alive] | ||
61 | Content-Length: ['0'] | ||
62 | User-Agent: [python-requests/2.9.1] | ||
63 | method: POST | ||
64 | uri: http://localhost:3000/api/v1/accounts/1/mute | ||
65 | response: | ||
66 | body: {string: '{"id":"1","following":false,"showing_reblogs":false,"followed_by":false,"blocking":false,"muting":true,"muting_notifications":true,"requested":false,"domain_blocking":false}'} | ||
67 | headers: | ||
68 | Cache-Control: ['max-age=0, private, must-revalidate'] | ||
69 | Content-Type: [application/json; charset=utf-8] | ||
70 | ETag: [W/"eb02aa306c43dc2cedd064423050e780"] | ||
71 | Transfer-Encoding: [chunked] | ||
72 | Vary: ['Accept-Encoding, Origin'] | ||
73 | X-Content-Type-Options: [nosniff] | ||
74 | X-Frame-Options: [SAMEORIGIN] | ||
75 | X-Request-Id: [a280815b-2e4b-4a4d-9daa-dd552e0ef497] | ||
76 | X-Runtime: ['0.180829'] | ||
77 | X-XSS-Protection: [1; mode=block] | ||
78 | content-length: ['173'] | ||
79 | status: {code: 200, message: OK} | ||
80 | - request: | ||
81 | body: null | ||
82 | headers: | ||
83 | Accept: ['*/*'] | ||
84 | Accept-Encoding: ['gzip, deflate'] | ||
85 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] | ||
86 | Connection: [keep-alive] | ||
87 | Content-Length: ['0'] | ||
88 | User-Agent: [python-requests/2.9.1] | ||
89 | method: POST | ||
90 | uri: http://localhost:3000/api/v1/accounts/1/unmute | ||
91 | response: | ||
92 | body: {string: '{"id":"1","following":false,"showing_reblogs":false,"followed_by":false,"blocking":false,"muting":false,"muting_notifications":false,"requested":false,"domain_blocking":false}'} | ||
93 | headers: | ||
94 | Cache-Control: ['max-age=0, private, must-revalidate'] | ||
95 | Content-Type: [application/json; charset=utf-8] | ||
96 | ETag: [W/"229b5f1dd5df8ec902733f300aadca06"] | ||
97 | Transfer-Encoding: [chunked] | ||
98 | Vary: ['Accept-Encoding, Origin'] | ||
99 | X-Content-Type-Options: [nosniff] | ||
100 | X-Frame-Options: [SAMEORIGIN] | ||
101 | X-Request-Id: [be6655f4-5da9-4bf6-808e-9a4d01fc166b] | ||
102 | X-Runtime: ['0.068562'] | ||
103 | X-XSS-Protection: [1; mode=block] | 51 | X-XSS-Protection: [1; mode=block] |
104 | content-length: ['175'] | 52 | content-length: ['175'] |
105 | status: {code: 200, message: OK} | 53 | status: {code: 200, message: OK} |