diff options
Diffstat (limited to 'tests/cassettes/test_account_block_unblock.yaml')
-rw-r--r-- | tests/cassettes/test_account_block_unblock.yaml | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/tests/cassettes/test_account_block_unblock.yaml b/tests/cassettes/test_account_block_unblock.yaml index a7eeee7..e4284ad 100644 --- a/tests/cassettes/test_account_block_unblock.yaml +++ b/tests/cassettes/test_account_block_unblock.yaml | |||
@@ -51,4 +51,56 @@ interactions: | |||
51 | X-XSS-Protection: [1; mode=block] | 51 | X-XSS-Protection: [1; mode=block] |
52 | content-length: ['175'] | 52 | content-length: ['175'] |
53 | status: {code: 200, message: OK} | 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/block | ||
65 | response: | ||
66 | body: {string: '{"id":"1","following":false,"showing_reblogs":false,"followed_by":false,"blocking":true,"muting":false,"muting_notifications":false,"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/"65ccb4aa19c6547777f2b595125b64cf"] | ||
71 | Transfer-Encoding: [chunked] | ||
72 | Vary: ['Accept-Encoding, Origin'] | ||
73 | X-Content-Type-Options: [nosniff] | ||
74 | X-Frame-Options: [SAMEORIGIN] | ||
75 | X-Request-Id: [6c92235b-f720-4164-8f5a-26bf813f9382] | ||
76 | X-Runtime: ['0.162354'] | ||
77 | X-XSS-Protection: [1; mode=block] | ||
78 | content-length: ['174'] | ||
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/unblock | ||
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: [9e383db5-ef55-47f4-a007-208ddee7a17a] | ||
102 | X-Runtime: ['0.095890'] | ||
103 | X-XSS-Protection: [1; mode=block] | ||
104 | content-length: ['175'] | ||
105 | status: {code: 200, message: OK} | ||
54 | version: 1 | 106 | version: 1 |