diff options
Diffstat (limited to 'tests/cassettes/test_admin_trends.yaml')
-rw-r--r-- | tests/cassettes/test_admin_trends.yaml | 234 |
1 files changed, 234 insertions, 0 deletions
diff --git a/tests/cassettes/test_admin_trends.yaml b/tests/cassettes/test_admin_trends.yaml new file mode 100644 index 0000000..a471f98 --- /dev/null +++ b/tests/cassettes/test_admin_trends.yaml | |||
@@ -0,0 +1,234 @@ | |||
1 | interactions: | ||
2 | - request: | ||
3 | body: null | ||
4 | headers: | ||
5 | Accept: | ||
6 | - '*/*' | ||
7 | Accept-Encoding: | ||
8 | - gzip, deflate | ||
9 | Authorization: | ||
10 | - Bearer __MASTODON_PY_TEST_ACCESS_TOKEN_2 | ||
11 | Connection: | ||
12 | - keep-alive | ||
13 | User-Agent: | ||
14 | - tests/v311 | ||
15 | method: GET | ||
16 | uri: http://localhost:3000/api/v1/admin/trends/tags | ||
17 | response: | ||
18 | body: | ||
19 | string: '[]' | ||
20 | headers: | ||
21 | Cache-Control: | ||
22 | - no-store | ||
23 | Content-Security-Policy: | ||
24 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src | ||
25 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; | ||
26 | style-src ''self'' http://localhost:3000 ''nonce-riTO9qzezJtfpKUBo5FfRw==''; | ||
27 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' | ||
28 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' | ||
29 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 | ||
30 | ws://localhost:3035 http://localhost:3035; script-src ''self'' ''unsafe-inline'' | ||
31 | ''unsafe-eval'' http://localhost:3000; child-src ''self'' blob: http://localhost:3000; | ||
32 | worker-src ''self'' blob: http://localhost:3000' | ||
33 | Content-Type: | ||
34 | - application/json; charset=utf-8 | ||
35 | ETag: | ||
36 | - W/"4f53cda18c2baa0c0354bb5f9a3ecbe5" | ||
37 | Referrer-Policy: | ||
38 | - strict-origin-when-cross-origin | ||
39 | Transfer-Encoding: | ||
40 | - chunked | ||
41 | Vary: | ||
42 | - Accept, Origin | ||
43 | X-Content-Type-Options: | ||
44 | - nosniff | ||
45 | X-Download-Options: | ||
46 | - noopen | ||
47 | X-Frame-Options: | ||
48 | - SAMEORIGIN | ||
49 | X-Permitted-Cross-Domain-Policies: | ||
50 | - none | ||
51 | X-Request-Id: | ||
52 | - 7f790ab8-9fba-4fd4-b1d1-32f98f057ced | ||
53 | X-Runtime: | ||
54 | - '0.019713' | ||
55 | X-XSS-Protection: | ||
56 | - 1; mode=block | ||
57 | status: | ||
58 | code: 200 | ||
59 | message: OK | ||
60 | - request: | ||
61 | body: null | ||
62 | headers: | ||
63 | Accept: | ||
64 | - '*/*' | ||
65 | Accept-Encoding: | ||
66 | - gzip, deflate | ||
67 | Authorization: | ||
68 | - Bearer __MASTODON_PY_TEST_ACCESS_TOKEN_2 | ||
69 | Connection: | ||
70 | - keep-alive | ||
71 | User-Agent: | ||
72 | - tests/v311 | ||
73 | method: GET | ||
74 | uri: http://localhost:3000/api/v1/admin/trends/statuses | ||
75 | response: | ||
76 | body: | ||
77 | string: '[]' | ||
78 | headers: | ||
79 | Cache-Control: | ||
80 | - no-store | ||
81 | Content-Security-Policy: | ||
82 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src | ||
83 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; | ||
84 | style-src ''self'' http://localhost:3000 ''nonce-LJrdU51JLzwv175738dEzQ==''; | ||
85 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' | ||
86 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' | ||
87 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 | ||
88 | ws://localhost:3035 http://localhost:3035; script-src ''self'' ''unsafe-inline'' | ||
89 | ''unsafe-eval'' http://localhost:3000; child-src ''self'' blob: http://localhost:3000; | ||
90 | worker-src ''self'' blob: http://localhost:3000' | ||
91 | Content-Type: | ||
92 | - application/json; charset=utf-8 | ||
93 | ETag: | ||
94 | - W/"4f53cda18c2baa0c0354bb5f9a3ecbe5" | ||
95 | Referrer-Policy: | ||
96 | - strict-origin-when-cross-origin | ||
97 | Transfer-Encoding: | ||
98 | - chunked | ||
99 | Vary: | ||
100 | - Accept, Origin | ||
101 | X-Content-Type-Options: | ||
102 | - nosniff | ||
103 | X-Download-Options: | ||
104 | - noopen | ||
105 | X-Frame-Options: | ||
106 | - SAMEORIGIN | ||
107 | X-Permitted-Cross-Domain-Policies: | ||
108 | - none | ||
109 | X-Request-Id: | ||
110 | - 247300e7-df10-49fa-81b7-5ee6fd5d82a4 | ||
111 | X-Runtime: | ||
112 | - '0.027509' | ||
113 | X-XSS-Protection: | ||
114 | - 1; mode=block | ||
115 | status: | ||
116 | code: 200 | ||
117 | message: OK | ||
118 | - request: | ||
119 | body: null | ||
120 | headers: | ||
121 | Accept: | ||
122 | - '*/*' | ||
123 | Accept-Encoding: | ||
124 | - gzip, deflate | ||
125 | Authorization: | ||
126 | - Bearer __MASTODON_PY_TEST_ACCESS_TOKEN_2 | ||
127 | Connection: | ||
128 | - keep-alive | ||
129 | User-Agent: | ||
130 | - tests/v311 | ||
131 | method: GET | ||
132 | uri: http://localhost:3000/api/v1/admin/trends/links | ||
133 | response: | ||
134 | body: | ||
135 | string: '[]' | ||
136 | headers: | ||
137 | Cache-Control: | ||
138 | - no-store | ||
139 | Content-Security-Policy: | ||
140 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src | ||
141 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; | ||
142 | style-src ''self'' http://localhost:3000 ''nonce-UsGPkqqgkgw3xXRrC/rS6Q==''; | ||
143 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' | ||
144 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' | ||
145 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 | ||
146 | ws://localhost:3035 http://localhost:3035; script-src ''self'' ''unsafe-inline'' | ||
147 | ''unsafe-eval'' http://localhost:3000; child-src ''self'' blob: http://localhost:3000; | ||
148 | worker-src ''self'' blob: http://localhost:3000' | ||
149 | Content-Type: | ||
150 | - application/json; charset=utf-8 | ||
151 | ETag: | ||
152 | - W/"4f53cda18c2baa0c0354bb5f9a3ecbe5" | ||
153 | Referrer-Policy: | ||
154 | - strict-origin-when-cross-origin | ||
155 | Transfer-Encoding: | ||
156 | - chunked | ||
157 | Vary: | ||
158 | - Accept, Origin | ||
159 | X-Content-Type-Options: | ||
160 | - nosniff | ||
161 | X-Download-Options: | ||
162 | - noopen | ||
163 | X-Frame-Options: | ||
164 | - SAMEORIGIN | ||
165 | X-Permitted-Cross-Domain-Policies: | ||
166 | - none | ||
167 | X-Request-Id: | ||
168 | - f9838813-fc1a-455b-8ee4-6c4e38f62be0 | ||
169 | X-Runtime: | ||
170 | - '0.018125' | ||
171 | X-XSS-Protection: | ||
172 | - 1; mode=block | ||
173 | status: | ||
174 | code: 200 | ||
175 | message: OK | ||
176 | - request: | ||
177 | body: null | ||
178 | headers: | ||
179 | Accept: | ||
180 | - '*/*' | ||
181 | Accept-Encoding: | ||
182 | - gzip, deflate | ||
183 | Authorization: | ||
184 | - Bearer __MASTODON_PY_TEST_ACCESS_TOKEN_2 | ||
185 | Connection: | ||
186 | - keep-alive | ||
187 | User-Agent: | ||
188 | - tests/v311 | ||
189 | method: GET | ||
190 | uri: http://localhost:3000/api/v1/admin/trends/tags?limit=5 | ||
191 | response: | ||
192 | body: | ||
193 | string: '[]' | ||
194 | headers: | ||
195 | Cache-Control: | ||
196 | - no-store | ||
197 | Content-Security-Policy: | ||
198 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src | ||
199 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; | ||
200 | style-src ''self'' http://localhost:3000 ''nonce-yIFkCE0nhCUfZnXpKkcTiQ==''; | ||
201 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' | ||
202 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' | ||
203 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 | ||
204 | ws://localhost:3035 http://localhost:3035; script-src ''self'' ''unsafe-inline'' | ||
205 | ''unsafe-eval'' http://localhost:3000; child-src ''self'' blob: http://localhost:3000; | ||
206 | worker-src ''self'' blob: http://localhost:3000' | ||
207 | Content-Type: | ||
208 | - application/json; charset=utf-8 | ||
209 | ETag: | ||
210 | - W/"4f53cda18c2baa0c0354bb5f9a3ecbe5" | ||
211 | Referrer-Policy: | ||
212 | - strict-origin-when-cross-origin | ||
213 | Transfer-Encoding: | ||
214 | - chunked | ||
215 | Vary: | ||
216 | - Accept, Origin | ||
217 | X-Content-Type-Options: | ||
218 | - nosniff | ||
219 | X-Download-Options: | ||
220 | - noopen | ||
221 | X-Frame-Options: | ||
222 | - SAMEORIGIN | ||
223 | X-Permitted-Cross-Domain-Policies: | ||
224 | - none | ||
225 | X-Request-Id: | ||
226 | - 51da904e-4de6-49d8-8680-b02a8dce3feb | ||
227 | X-Runtime: | ||
228 | - '0.008825' | ||
229 | X-XSS-Protection: | ||
230 | - 1; mode=block | ||
231 | status: | ||
232 | code: 200 | ||
233 | message: OK | ||
234 | version: 1 | ||