aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cassettes/test_follow_request_reject.yaml')
-rw-r--r--tests/cassettes/test_follow_request_reject.yaml64
1 files changed, 6 insertions, 58 deletions
diff --git a/tests/cassettes/test_follow_request_reject.yaml b/tests/cassettes/test_follow_request_reject.yaml
index 0107694..5cf1954 100644
--- a/tests/cassettes/test_follow_request_reject.yaml
+++ b/tests/cassettes/test_follow_request_reject.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/"d460776ce477e17a9cc0ecade3425d5a"] 18 ETag: [W/"6bb005ea6a91d756d0ba9108c1185bce"]
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: [d1afb442-30d9-40e1-a4cb-58f6b184b52f] 23 X-Request-Id: [7bb24dda-b01f-4ec2-999f-d969b23197a2]
24 X-Runtime: ['0.208619'] 24 X-Runtime: ['0.215672']
25 X-XSS-Protection: [1; mode=block] 25 X-XSS-Protection: [1; mode=block]
26 content-length: ['188'] 26 content-length: ['188']
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/"2a78a8b50e2a4a18de5bd52f7809e6d8"] 44 ETag: [W/"97b143e1b8b5c4f3e0f9722ab2003ab9"]
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: [9dedeab3-5be3-4af3-a1b6-fb4316eabb70] 49 X-Request-Id: [8a77ea4f-5013-409d-9a96-ed8024712465]
50 X-Runtime: ['0.050301'] 50 X-Runtime: ['0.056300']
51 X-XSS-Protection: [1; mode=block]
52 content-length: ['2']
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] 51 X-XSS-Protection: [1; mode=block]
104 content-length: ['2'] 52 content-length: ['2']
105 status: {code: 200, message: OK} 53 status: {code: 200, message: OK}
Powered by cgit v1.2.3 (git 2.41.0)