aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLorenz Diener <[email protected]>2018-04-18 22:00:35 +0200
committerLorenz Diener <[email protected]>2018-04-18 22:00:35 +0200
commit64ec9e20987072692227d8817d9fd99d497fea5e (patch)
tree7c358d3ce80c30fd59af9e615e99824453eb2f8d /tests/cassettes/test_follow_request_reject.yaml
parenta825905b571697835d762ac63098491cbc4a0936 (diff)
downloadmastodon.py-64ec9e20987072692227d8817d9fd99d497fea5e.tar.gz
Update the tests
Diffstat (limited to 'tests/cassettes/test_follow_request_reject.yaml')
-rw-r--r--tests/cassettes/test_follow_request_reject.yaml20
1 files changed, 10 insertions, 10 deletions
diff --git a/tests/cassettes/test_follow_request_reject.yaml b/tests/cassettes/test_follow_request_reject.yaml
index 737ff1c..ef4a813 100644
--- a/tests/cassettes/test_follow_request_reject.yaml
+++ b/tests/cassettes/test_follow_request_reject.yaml
@@ -7,23 +7,23 @@ interactions:
7 Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN_2] 7 Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN_2]
8 Connection: [keep-alive] 8 Connection: [keep-alive]
9 Content-Length: ['0'] 9 Content-Length: ['0']
10 User-Agent: [python-requests/2.18.4] 10 User-Agent: [python-requests/2.9.1]
11 method: POST 11 method: POST
12 uri: http://localhost:3000/api/v1/accounts/1234567890123456/follow 12 uri: http://localhost:3000/api/v1/accounts/1234567890123456/follow
13 response: 13 response:
14 body: {string: '{"id":"1234567890123456","following":false,"followed_by":false,"blocking":false,"muting":false,"requested":true,"domain_blocking":false}'} 14 body: {string: '{"id":"1234567890123456","following":false,"showing_reblogs":true,"followed_by":false,"blocking":false,"muting":false,"muting_notifications":false,"requested":true,"domain_blocking":false}'}
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/"5f0d561506d1323c3e160a377c23d7ea"] 18 ETag: [W/"d460776ce477e17a9cc0ecade3425d5a"]
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: [7154cf2f-ace8-4c77-9dd8-f7de88d6dfbf] 23 X-Request-Id: [d1afb442-30d9-40e1-a4cb-58f6b184b52f]
24 X-Runtime: ['0.069936'] 24 X-Runtime: ['0.208619']
25 X-XSS-Protection: [1; mode=block] 25 X-XSS-Protection: [1; mode=block]
26 content-length: ['136'] 26 content-length: ['188']
27 status: {code: 200, message: OK} 27 status: {code: 200, message: OK}
28- request: 28- request:
29 body: null 29 body: null
@@ -33,7 +33,7 @@ interactions:
33 Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] 33 Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN]
34 Connection: [keep-alive] 34 Connection: [keep-alive]
35 Content-Length: ['0'] 35 Content-Length: ['0']
36 User-Agent: [python-requests/2.18.4] 36 User-Agent: [python-requests/2.9.1]
37 method: POST 37 method: POST
38 uri: http://localhost:3000/api/v1/follow_requests/1/reject 38 uri: http://localhost:3000/api/v1/follow_requests/1/reject
39 response: 39 response:
@@ -41,13 +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/"025d3164863931d5961fd059d0b0e4ee"] 44 ETag: [W/"2a78a8b50e2a4a18de5bd52f7809e6d8"]
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: [941e921d-b13d-4ae9-b755-7bd5c9e7f911] 49 X-Request-Id: [9dedeab3-5be3-4af3-a1b6-fb4316eabb70]
50 X-Runtime: ['0.032675'] 50 X-Runtime: ['0.050301']
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}
Powered by cgit v1.2.3 (git 2.41.0)