aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cassettes/test_follow_request_authorize.yaml')
-rw-r--r--tests/cassettes/test_follow_request_authorize.yaml78
1 files changed, 78 insertions, 0 deletions
diff --git a/tests/cassettes/test_follow_request_authorize.yaml b/tests/cassettes/test_follow_request_authorize.yaml
index fb91e01..4ea4878 100644
--- a/tests/cassettes/test_follow_request_authorize.yaml
+++ b/tests/cassettes/test_follow_request_authorize.yaml
@@ -77,4 +77,82 @@ interactions:
77 X-XSS-Protection: [1; mode=block] 77 X-XSS-Protection: [1; mode=block]
78 content-length: ['190'] 78 content-length: ['190']
79 status: {code: 200, message: OK} 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_2]
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/1234567890123456/follow
91 response:
92 body: {string: '{"id":"1234567890123456","following":false,"showing_reblogs":true,"followed_by":false,"blocking":false,"muting":false,"muting_notifications":false,"requested":true,"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/"b3e7ef6e1d5df03bfa98e425f5bb9547"]
97 Transfer-Encoding: [chunked]
98 Vary: ['Accept-Encoding, Origin']
99 X-Content-Type-Options: [nosniff]
100 X-Frame-Options: [SAMEORIGIN]
101 X-Request-Id: [dc39c0ac-158c-4151-a885-301303a1d314]
102 X-Runtime: ['0.099701']
103 X-XSS-Protection: [1; mode=block]
104 content-length: ['188']
105 status: {code: 200, message: OK}
106- request:
107 body: null
108 headers:
109 Accept: ['*/*']
110 Accept-Encoding: ['gzip, deflate']
111 Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN]
112 Connection: [keep-alive]
113 Content-Length: ['0']
114 User-Agent: [python-requests/2.9.1]
115 method: POST
116 uri: http://localhost:3000/api/v1/follow_requests/1/authorize
117 response:
118 body: {string: '{}'}
119 headers:
120 Cache-Control: ['max-age=0, private, must-revalidate']
121 Content-Type: [application/json; charset=utf-8]
122 ETag: [W/"ebde216f2328956515154640c4a2b85b"]
123 Transfer-Encoding: [chunked]
124 Vary: ['Accept-Encoding, Origin']
125 X-Content-Type-Options: [nosniff]
126 X-Frame-Options: [SAMEORIGIN]
127 X-Request-Id: [235afc2e-87d1-4444-9450-192807cdef1f]
128 X-Runtime: ['0.101137']
129 X-XSS-Protection: [1; mode=block]
130 content-length: ['2']
131 status: {code: 200, message: OK}
132- request:
133 body: null
134 headers:
135 Accept: ['*/*']
136 Accept-Encoding: ['gzip, deflate']
137 Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN_2]
138 Connection: [keep-alive]
139 Content-Length: ['0']
140 User-Agent: [python-requests/2.9.1]
141 method: POST
142 uri: http://localhost:3000/api/v1/accounts/1234567890123456/unfollow
143 response:
144 body: {string: '{"id":"1234567890123456","following":false,"showing_reblogs":false,"followed_by":false,"blocking":false,"muting":false,"muting_notifications":false,"requested":false,"domain_blocking":false}'}
145 headers:
146 Cache-Control: ['max-age=0, private, must-revalidate']
147 Content-Type: [application/json; charset=utf-8]
148 ETag: [W/"b0cecb650347058310c6a0a326568bdb"]
149 Transfer-Encoding: [chunked]
150 Vary: ['Accept-Encoding, Origin']
151 X-Content-Type-Options: [nosniff]
152 X-Frame-Options: [SAMEORIGIN]
153 X-Request-Id: [3047c295-964e-4d3e-a325-8372bd08ec5d]
154 X-Runtime: ['0.110171']
155 X-XSS-Protection: [1; mode=block]
156 content-length: ['190']
157 status: {code: 200, message: OK}
80version: 1 158version: 1
Powered by cgit v1.2.3 (git 2.41.0)