diff options
Diffstat (limited to 'tests/cassettes/test_app_account_create.yaml')
-rw-r--r-- | tests/cassettes/test_app_account_create.yaml | 54 |
1 files changed, 27 insertions, 27 deletions
diff --git a/tests/cassettes/test_app_account_create.yaml b/tests/cassettes/test_app_account_create.yaml index 9a25741..8f7f664 100644 --- a/tests/cassettes/test_app_account_create.yaml +++ b/tests/cassettes/test_app_account_create.yaml | |||
@@ -18,14 +18,14 @@ interactions: | |||
18 | uri: http://localhost:3000/api/v1/apps | 18 | uri: http://localhost:3000/api/v1/apps |
19 | response: | 19 | response: |
20 | body: | 20 | body: |
21 | string: '{"id":"2","name":"mastodon.py generated test app","website":null,"redirect_uri":"urn:ietf:wg:oauth:2.0:oob","client_id":"wva3WizRa3Td6jx8ODwontjq5IbnBkZnjc-eCZs-gCM","client_secret":"KJy9uWQHnap3ifzLGU4H2JI9GGBRADxGzCzldmcs0P0","vapid_key":"BMW1iZ3p5HXHHMmkMJ6jdQM9egogj2xIhMMIWtY1w4Cv-ENlqvh8MEU9QeSrfVQGJVo499S7sssiJYQ6AFMEt7U="}' | 21 | string: '{"id":"2","name":"mastodon.py generated test app","website":null,"redirect_uri":"urn:ietf:wg:oauth:2.0:oob","client_id":"gEuKqNuywsaMneO5Ac2jiOwyIxDfAl8vCAEQHQroDEA","client_secret":"WU0JXbe9t289_sIhrlD_m2rTJZWcehTNy60Khq1hFSs","vapid_key":"BIX7IY8wYrdPf5wfG59B5B4CBbpQWmOBr_SI9zEsCDfMGDx8KmPuu-3WP7b-amaekv2NZj3ZSNst9OaqoxXvC1s="}' |
22 | headers: | 22 | headers: |
23 | Cache-Control: | 23 | Cache-Control: |
24 | - no-store | 24 | - no-store |
25 | Content-Security-Policy: | 25 | Content-Security-Policy: |
26 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src | 26 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src |
27 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; | 27 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; |
28 | style-src ''self'' http://localhost:3000 ''nonce-DvxPo9Ovb2xSXhgAUzkoVA==''; | 28 | style-src ''self'' http://localhost:3000 ''nonce-Zh318FJnptQQXbYGbr6ipQ==''; |
29 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' | 29 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' |
30 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' | 30 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' |
31 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 | 31 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 |
@@ -35,7 +35,7 @@ interactions: | |||
35 | Content-Type: | 35 | Content-Type: |
36 | - application/json; charset=utf-8 | 36 | - application/json; charset=utf-8 |
37 | ETag: | 37 | ETag: |
38 | - W/"d6a6da1cb2d2661b95a350008331ccf0" | 38 | - W/"4ce1f03f00fba44db374be39a911d5c7" |
39 | Referrer-Policy: | 39 | Referrer-Policy: |
40 | - strict-origin-when-cross-origin | 40 | - strict-origin-when-cross-origin |
41 | Transfer-Encoding: | 41 | Transfer-Encoding: |
@@ -51,9 +51,9 @@ interactions: | |||
51 | X-Permitted-Cross-Domain-Policies: | 51 | X-Permitted-Cross-Domain-Policies: |
52 | - none | 52 | - none |
53 | X-Request-Id: | 53 | X-Request-Id: |
54 | - a2399cb7-884b-405e-9d07-3aa8ca9c44d0 | 54 | - 13df349b-78e3-4af3-8362-2036891efa2c |
55 | X-Runtime: | 55 | X-Runtime: |
56 | - '0.013795' | 56 | - '0.013468' |
57 | X-XSS-Protection: | 57 | X-XSS-Protection: |
58 | - 1; mode=block | 58 | - 1; mode=block |
59 | status: | 59 | status: |
@@ -69,7 +69,7 @@ interactions: | |||
69 | Connection: | 69 | Connection: |
70 | - keep-alive | 70 | - keep-alive |
71 | User-Agent: | 71 | User-Agent: |
72 | - python-requests/2.28.1 | 72 | - mastodonpy |
73 | method: GET | 73 | method: GET |
74 | uri: http://localhost:3000/api/v1/instance/ | 74 | uri: http://localhost:3000/api/v1/instance/ |
75 | response: | 75 | response: |
@@ -81,7 +81,7 @@ interactions: | |||
81 | Content-Security-Policy: | 81 | Content-Security-Policy: |
82 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src | 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; | 83 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; |
84 | style-src ''self'' http://localhost:3000 ''nonce-OA/gteRWWv/X4XNZZY/Ckw==''; | 84 | style-src ''self'' http://localhost:3000 ''nonce-W66NplWHcyKqASWNg0Dssg==''; |
85 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' | 85 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' |
86 | https:; manifest-src ''self'' http://localhost:3000; connect-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 | 87 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 |
@@ -91,7 +91,7 @@ interactions: | |||
91 | Content-Type: | 91 | Content-Type: |
92 | - application/json; charset=utf-8 | 92 | - application/json; charset=utf-8 |
93 | Date: | 93 | Date: |
94 | - Sun, 13 Nov 2022 14:12:25 GMT | 94 | - Sun, 13 Nov 2022 16:29:56 GMT |
95 | ETag: | 95 | ETag: |
96 | - W/"bf317ffab393d8d1da7195269f28968a" | 96 | - W/"bf317ffab393d8d1da7195269f28968a" |
97 | Referrer-Policy: | 97 | Referrer-Policy: |
@@ -109,16 +109,16 @@ interactions: | |||
109 | X-Permitted-Cross-Domain-Policies: | 109 | X-Permitted-Cross-Domain-Policies: |
110 | - none | 110 | - none |
111 | X-Request-Id: | 111 | X-Request-Id: |
112 | - 1eb8ce18-0741-491b-8a55-805a506ccb54 | 112 | - 0f6df9ea-ef58-4b94-a0b5-5a41cc140ea4 |
113 | X-Runtime: | 113 | X-Runtime: |
114 | - '0.012449' | 114 | - '0.012362' |
115 | X-XSS-Protection: | 115 | X-XSS-Protection: |
116 | - 1; mode=block | 116 | - 1; mode=block |
117 | status: | 117 | status: |
118 | code: 200 | 118 | code: 200 |
119 | message: OK | 119 | message: OK |
120 | - request: | 120 | - request: |
121 | body: scope=read+write+follow+push&client_id=wva3WizRa3Td6jx8ODwontjq5IbnBkZnjc-eCZs-gCM&client_secret=KJy9uWQHnap3ifzLGU4H2JI9GGBRADxGzCzldmcs0P0&grant_type=client_credentials | 121 | body: scope=read+write+follow+push&client_id=gEuKqNuywsaMneO5Ac2jiOwyIxDfAl8vCAEQHQroDEA&client_secret=WU0JXbe9t289_sIhrlD_m2rTJZWcehTNy60Khq1hFSs&grant_type=client_credentials |
122 | headers: | 122 | headers: |
123 | Accept: | 123 | Accept: |
124 | - '*/*' | 124 | - '*/*' |
@@ -131,20 +131,20 @@ interactions: | |||
131 | Content-Type: | 131 | Content-Type: |
132 | - application/x-www-form-urlencoded | 132 | - application/x-www-form-urlencoded |
133 | User-Agent: | 133 | User-Agent: |
134 | - python-requests/2.28.1 | 134 | - mastodonpy |
135 | method: POST | 135 | method: POST |
136 | uri: http://localhost:3000/oauth/token | 136 | uri: http://localhost:3000/oauth/token |
137 | response: | 137 | response: |
138 | body: | 138 | body: |
139 | string: '{"access_token":"boBFheSAJZUyUXZPCu89xgrLZJaBG8trJYWSfuMSK8U","token_type":"Bearer","scope":"read | 139 | string: '{"access_token":"hjO121FQ7LARVj6rPCGwBB5ae9q9Qw3qNvJYwKfLIEo","token_type":"Bearer","scope":"read |
140 | write follow push","created_at":1668348745}' | 140 | write follow push","created_at":1668356996}' |
141 | headers: | 141 | headers: |
142 | Cache-Control: | 142 | Cache-Control: |
143 | - no-store | 143 | - no-store |
144 | Content-Security-Policy: | 144 | Content-Security-Policy: |
145 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src | 145 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src |
146 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; | 146 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; |
147 | style-src ''self'' http://localhost:3000 ''nonce-BZA3U4xqaWyyKNuH2prs8A==''; | 147 | style-src ''self'' http://localhost:3000 ''nonce-Ky+xWz4IzT8eC/nLsYn9Ug==''; |
148 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' | 148 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' |
149 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' | 149 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' |
150 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 | 150 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 |
@@ -154,7 +154,7 @@ interactions: | |||
154 | Content-Type: | 154 | Content-Type: |
155 | - application/json; charset=utf-8 | 155 | - application/json; charset=utf-8 |
156 | ETag: | 156 | ETag: |
157 | - W/"9d87c141b0bd59d27b7d4110784c0e11" | 157 | - W/"365d6ad17841f9fc108d819b6f80d64f" |
158 | Pragma: | 158 | Pragma: |
159 | - no-cache | 159 | - no-cache |
160 | Referrer-Policy: | 160 | Referrer-Policy: |
@@ -172,23 +172,23 @@ interactions: | |||
172 | X-Permitted-Cross-Domain-Policies: | 172 | X-Permitted-Cross-Domain-Policies: |
173 | - none | 173 | - none |
174 | X-Request-Id: | 174 | X-Request-Id: |
175 | - 59109c88-afde-4911-ad8a-2c0616fa488f | 175 | - 577d694d-e490-4415-992b-da9da0979864 |
176 | X-Runtime: | 176 | X-Runtime: |
177 | - '0.024466' | 177 | - '0.010756' |
178 | X-XSS-Protection: | 178 | X-XSS-Protection: |
179 | - 1; mode=block | 179 | - 1; mode=block |
180 | status: | 180 | status: |
181 | code: 200 | 181 | code: 200 |
182 | message: OK | 182 | message: OK |
183 | - request: | 183 | - request: |
184 | body: username=coolguy67826&password=swordfish&email=email%40localhost67826&agreement=1&locale=en&client_id=wva3WizRa3Td6jx8ODwontjq5IbnBkZnjc-eCZs-gCM&client_secret=KJy9uWQHnap3ifzLGU4H2JI9GGBRADxGzCzldmcs0P0 | 184 | body: username=coolguy27294&password=swordfish&email=email%40localhost27294&agreement=1&locale=en&client_id=gEuKqNuywsaMneO5Ac2jiOwyIxDfAl8vCAEQHQroDEA&client_secret=WU0JXbe9t289_sIhrlD_m2rTJZWcehTNy60Khq1hFSs |
185 | headers: | 185 | headers: |
186 | Accept: | 186 | Accept: |
187 | - '*/*' | 187 | - '*/*' |
188 | Accept-Encoding: | 188 | Accept-Encoding: |
189 | - gzip, deflate | 189 | - gzip, deflate |
190 | Authorization: | 190 | Authorization: |
191 | - Bearer boBFheSAJZUyUXZPCu89xgrLZJaBG8trJYWSfuMSK8U | 191 | - Bearer hjO121FQ7LARVj6rPCGwBB5ae9q9Qw3qNvJYwKfLIEo |
192 | Connection: | 192 | Connection: |
193 | - keep-alive | 193 | - keep-alive |
194 | Content-Length: | 194 | Content-Length: |
@@ -196,20 +196,20 @@ interactions: | |||
196 | Content-Type: | 196 | Content-Type: |
197 | - application/x-www-form-urlencoded | 197 | - application/x-www-form-urlencoded |
198 | User-Agent: | 198 | User-Agent: |
199 | - python-requests/2.28.1 | 199 | - mastodonpy |
200 | method: POST | 200 | method: POST |
201 | uri: http://localhost:3000/api/v1/accounts | 201 | uri: http://localhost:3000/api/v1/accounts |
202 | response: | 202 | response: |
203 | body: | 203 | body: |
204 | string: '{"access_token":"GJ-q6Ehvw5S8IEq55x96bLar71NW6rDqPVENktCvyOQ","token_type":"Bearer","scope":"read | 204 | string: '{"access_token":"fa6GZxjyPYsGuapcEQqdXpY3r9EDnwaAzY4vahT1GNY","token_type":"Bearer","scope":"read |
205 | write follow push","created_at":1668348745}' | 205 | write follow push","created_at":1668356996}' |
206 | headers: | 206 | headers: |
207 | Cache-Control: | 207 | Cache-Control: |
208 | - no-store | 208 | - no-store |
209 | Content-Security-Policy: | 209 | Content-Security-Policy: |
210 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src | 210 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src |
211 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; | 211 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; |
212 | style-src ''self'' http://localhost:3000 ''nonce-dow9mQf4oCm/J1d7BfztHg==''; | 212 | style-src ''self'' http://localhost:3000 ''nonce-HeTgpdMKCUkyYQyy5dwEcw==''; |
213 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' | 213 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' |
214 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' | 214 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' |
215 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 | 215 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 |
@@ -219,7 +219,7 @@ interactions: | |||
219 | Content-Type: | 219 | Content-Type: |
220 | - application/json; charset=utf-8 | 220 | - application/json; charset=utf-8 |
221 | ETag: | 221 | ETag: |
222 | - W/"f324fc36a46ea74fe40911e3d883bd83" | 222 | - W/"1ddd115ebd5097ed791b3457e361636a" |
223 | Pragma: | 223 | Pragma: |
224 | - no-cache | 224 | - no-cache |
225 | Referrer-Policy: | 225 | Referrer-Policy: |
@@ -237,9 +237,9 @@ interactions: | |||
237 | X-Permitted-Cross-Domain-Policies: | 237 | X-Permitted-Cross-Domain-Policies: |
238 | - none | 238 | - none |
239 | X-Request-Id: | 239 | X-Request-Id: |
240 | - a2b2a1a2-ad55-43bf-a6bf-387ba9fa641d | 240 | - 1b2b769a-3a32-440b-aeba-b967967f86e6 |
241 | X-Runtime: | 241 | X-Runtime: |
242 | - '0.101587' | 242 | - '0.088416' |
243 | X-XSS-Protection: | 243 | X-XSS-Protection: |
244 | - 1; mode=block | 244 | - 1; mode=block |
245 | status: | 245 | status: |