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.yaml96
1 files changed, 9 insertions, 87 deletions
diff --git a/tests/cassettes/test_follow_request_authorize.yaml b/tests/cassettes/test_follow_request_authorize.yaml
index 4ea4878..3009793 100644
--- a/tests/cassettes/test_follow_request_authorize.yaml
+++ b/tests/cassettes/test_follow_request_authorize.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/"c64083bd2e9e2c9da5d97d3e2aaf65cb"] 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: [581837a1-60ed-47a4-8532-002a37bc220d] 23 X-Request-Id: [e77d21a6-ad74-4741-9cae-2f15454ac124]
24 X-Runtime: ['0.123469'] 24 X-Runtime: ['0.084303']
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,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/"22373afedef13443fef6492eb2a68e66"] 44 ETag: [W/"0701583423fc411927a998269cc998b6"]
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: [9cd9cb5a-e5ed-4f9d-b99f-94915e040005] 49 X-Request-Id: [02ff5c49-4e6d-4d62-bb0e-8acc2cbd499f]
50 X-Runtime: ['0.096094'] 50 X-Runtime: ['0.083789']
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}
@@ -67,91 +67,13 @@ interactions:
67 headers: 67 headers:
68 Cache-Control: ['max-age=0, private, must-revalidate'] 68 Cache-Control: ['max-age=0, private, must-revalidate']
69 Content-Type: [application/json; charset=utf-8] 69 Content-Type: [application/json; charset=utf-8]
70 ETag: [W/"d59e6faa8506a5a44211ad29fa1c8fe1"] 70 ETag: [W/"dc184f6640b1ece83b3ef3c72c76d808"]
71 Transfer-Encoding: [chunked] 71 Transfer-Encoding: [chunked]
72 Vary: ['Accept-Encoding, Origin'] 72 Vary: ['Accept-Encoding, Origin']
73 X-Content-Type-Options: [nosniff] 73 X-Content-Type-Options: [nosniff]
74 X-Frame-Options: [SAMEORIGIN] 74 X-Frame-Options: [SAMEORIGIN]
75 X-Request-Id: [1ef6642f-f8fd-43c3-9105-460bacafbd7c] 75 X-Request-Id: [85b47933-58e1-42ed-aa9a-b435d9d83a2b]
76 X-Runtime: ['0.141057'] 76 X-Runtime: ['0.076345']
77 X-XSS-Protection: [1; mode=block]
78 content-length: ['190']
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] 77 X-XSS-Protection: [1; mode=block]
156 content-length: ['190'] 78 content-length: ['190']
157 status: {code: 200, message: OK} 79 status: {code: 200, message: OK}
Powered by cgit v1.2.3 (git 2.41.0)