diff options
Diffstat (limited to 'tests/cassettes/test_follow_request_reject.yaml')
-rw-r--r-- | tests/cassettes/test_follow_request_reject.yaml | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/tests/cassettes/test_follow_request_reject.yaml b/tests/cassettes/test_follow_request_reject.yaml index ef4a813..0107694 100644 --- a/tests/cassettes/test_follow_request_reject.yaml +++ b/tests/cassettes/test_follow_request_reject.yaml | |||
@@ -51,4 +51,56 @@ interactions: | |||
51 | X-XSS-Protection: [1; mode=block] | 51 | X-XSS-Protection: [1; mode=block] |
52 | content-length: ['2'] | 52 | content-length: ['2'] |
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_2] | ||
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/1234567890123456/follow | ||
65 | response: | ||
66 | body: {string: '{"id":"1234567890123456","following":false,"showing_reblogs":true,"followed_by":false,"blocking":false,"muting":false,"muting_notifications":false,"requested":true,"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/"e890f5ee95bfa976415b3b4b48ae4d50"] | ||
71 | Transfer-Encoding: [chunked] | ||
72 | Vary: ['Accept-Encoding, Origin'] | ||
73 | X-Content-Type-Options: [nosniff] | ||
74 | X-Frame-Options: [SAMEORIGIN] | ||
75 | X-Request-Id: [e8316425-7b57-4a34-b378-7015fc32373e] | ||
76 | X-Runtime: ['0.183710'] | ||
77 | X-XSS-Protection: [1; mode=block] | ||
78 | content-length: ['188'] | ||
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/follow_requests/1/reject | ||
91 | response: | ||
92 | body: {string: '{}'} | ||
93 | headers: | ||
94 | Cache-Control: ['max-age=0, private, must-revalidate'] | ||
95 | Content-Type: [application/json; charset=utf-8] | ||
96 | ETag: [W/"2859fb535f776272374bed83fa976212"] | ||
97 | Transfer-Encoding: [chunked] | ||
98 | Vary: ['Accept-Encoding, Origin'] | ||
99 | X-Content-Type-Options: [nosniff] | ||
100 | X-Frame-Options: [SAMEORIGIN] | ||
101 | X-Request-Id: [5c000d90-9c65-4422-a323-232a289ce71c] | ||
102 | X-Runtime: ['0.039074'] | ||
103 | X-XSS-Protection: [1; mode=block] | ||
104 | content-length: ['2'] | ||
105 | status: {code: 200, message: OK} | ||
54 | version: 1 | 106 | version: 1 |