aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cassettes/test_log_in_password.yaml')
-rw-r--r--tests/cassettes/test_log_in_password.yaml76
1 files changed, 57 insertions, 19 deletions
diff --git a/tests/cassettes/test_log_in_password.yaml b/tests/cassettes/test_log_in_password.yaml
index b7ef29d..6487add 100644
--- a/tests/cassettes/test_log_in_password.yaml
+++ b/tests/cassettes/test_log_in_password.yaml
@@ -1,27 +1,65 @@
1interactions: 1interactions:
2- request: 2- request:
3 body: redirect_uri=urn%3Aietf%3Awg%3Aoauth%3A2.0%3Aoob&password=mastodonadmin&username=admin%40localhost&grant_type=password&client_id=__MASTODON_PY_TEST_CLIENT_ID&client_secret=__MASTODON_PY_TEST_CLIENT_SECRET&scope=read+write+follow+push 3 body: username=mastodonpy_test_2%40localhost%3A3000&password=5fc638e0e53eafd9c4145b6bb852667d&redirect_uri=urn%3Aietf%3Awg%3Aoauth%3A2.0%3Aoob&grant_type=password&client_id=__MASTODON_PY_TEST_CLIENT_ID&client_secret=__MASTODON_PY_TEST_CLIENT_SECRET&scope=read+write+follow+push
4 headers: 4 headers:
5 Accept: ['*/*'] 5 Accept:
6 Accept-Encoding: ['gzip, deflate'] 6 - '*/*'
7 Connection: [keep-alive] 7 Accept-Encoding:
8 Content-Length: ['233'] 8 - gzip, deflate
9 Content-Type: [application/x-www-form-urlencoded] 9 Connection:
10 User-Agent: [python-requests/2.18.4] 10 - keep-alive
11 Content-Length:
12 - '271'
13 Content-Type:
14 - application/x-www-form-urlencoded
15 User-Agent:
16 - tests/v311
11 method: POST 17 method: POST
12 uri: http://localhost:3000/oauth/token 18 uri: http://localhost:3000/oauth/token
13 response: 19 response:
14 body: {string: '{"access_token":"8HT6e0UoIMVsZXZX5-8nKUrJZ2hlJV-342ZmNdapLIY","token_type":"Bearer","scope":"read 20 body:
15 write follow push","created_at":1582399688}'} 21 string: '{"access_token":"__MASTODON_PY_TEST_ACCESS_TOKEN_3","token_type":"Bearer","scope":"read
22 write follow push","created_at":1667857984}'
16 headers: 23 headers:
17 Cache-Control: ['private, no-store'] 24 Cache-Control:
18 Content-Type: [application/json; charset=utf-8] 25 - no-store
19 ETag: [W/"52edd43f3030dbcd4a75203eea055dd0"] 26 Content-Security-Policy:
20 Pragma: [no-cache] 27 - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src
21 Transfer-Encoding: [chunked] 28 ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000;
22 Vary: ['Accept-Encoding, Origin'] 29 style-src ''self'' http://localhost:3000 ''nonce-NwFcsQkFvMX36BdP4bpG8g=='';
23 X-Request-Id: [10c6d3bd-622c-4445-8d96-dbd75cde5769] 30 media-src ''self'' https: data: http://localhost:3000; frame-src ''self''
24 X-Runtime: ['0.307838'] 31 https:; manifest-src ''self'' http://localhost:3000; connect-src ''self''
25 content-length: ['141'] 32 data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000
26 status: {code: 200, message: OK} 33 ws://localhost:3035 http://localhost:3035; script-src ''self'' ''unsafe-inline''
34 ''unsafe-eval'' http://localhost:3000; child-src ''self'' blob: http://localhost:3000;
35 worker-src ''self'' blob: http://localhost:3000'
36 Content-Type:
37 - application/json; charset=utf-8
38 ETag:
39 - W/"a829fbcc22aebfeb6f9f67bfe13a6f4a"
40 Pragma:
41 - no-cache
42 Referrer-Policy:
43 - strict-origin-when-cross-origin
44 Transfer-Encoding:
45 - chunked
46 Vary:
47 - Accept, Origin
48 X-Content-Type-Options:
49 - nosniff
50 X-Download-Options:
51 - noopen
52 X-Frame-Options:
53 - SAMEORIGIN
54 X-Permitted-Cross-Domain-Policies:
55 - none
56 X-Request-Id:
57 - e001cc07-b9cd-4db8-a6c2-9bfdc9b8cbde
58 X-Runtime:
59 - '0.054678'
60 X-XSS-Protection:
61 - 1; mode=block
62 status:
63 code: 200
64 message: OK
27version: 1 65version: 1
Powered by cgit v1.2.3 (git 2.41.0)