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.yaml16
1 files changed, 8 insertions, 8 deletions
diff --git a/tests/cassettes/test_log_in_password.yaml b/tests/cassettes/test_log_in_password.yaml
index d37a6b2..2405713 100644
--- a/tests/cassettes/test_log_in_password.yaml
+++ b/tests/cassettes/test_log_in_password.yaml
@@ -1,27 +1,27 @@
1interactions: 1interactions:
2- request: 2- request:
3 body: client_secret=__MASTODON_PY_TEST_CLIENT_SECRET&grant_type=password&redirect_uri=urn%3Aietf%3Awg%3Aoauth%3A2.0%3Aoob&scope=read+write+follow&username=admin%40localhost%3A3000&client_id=__MASTODON_PY_TEST_CLIENT_ID&password=mastodonadmin 3 body: redirect_uri=urn%3Aietf%3Awg%3Aoauth%3A2.0%3Aoob&password=mastodonadmin&username=admin%40localhost%3A3000&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 Accept-Encoding: ['gzip, deflate']
7 Connection: [keep-alive] 7 Connection: [keep-alive]
8 Content-Length: ['235'] 8 Content-Length: ['240']
9 Content-Type: [application/x-www-form-urlencoded] 9 Content-Type: [application/x-www-form-urlencoded]
10 User-Agent: [python-requests/2.9.1] 10 User-Agent: [python-requests/2.9.1]
11 method: POST 11 method: POST
12 uri: http://localhost:3000/oauth/token 12 uri: http://localhost:3000/oauth/token
13 response: 13 response:
14 body: {string: '{"access_token":"__MASTODON_PY_TEST_ACCESS_TOKEN_2","token_type":"bearer","scope":"read 14 body: {string: '{"access_token":"__MASTODON_PY_TEST_ACCESS_TOKEN_2","token_type":"bearer","scope":"read
15 write follow","created_at":1525653485}'} 15 write follow push","created_at":1528235923}'}
16 headers: 16 headers:
17 Cache-Control: [no-store] 17 Cache-Control: ['private, no-store']
18 Content-Type: [application/json; charset=utf-8] 18 Content-Type: [application/json; charset=utf-8]
19 ETag: [W/"74b597433e71f7e983dd939789c5c4d2"] 19 ETag: [W/"34b979f076c4f5481a7c3f8539e51503"]
20 Pragma: [no-cache] 20 Pragma: [no-cache]
21 Transfer-Encoding: [chunked] 21 Transfer-Encoding: [chunked]
22 Vary: ['Accept-Encoding, Origin'] 22 Vary: ['Accept-Encoding, Origin']
23 X-Request-Id: [6cc06c4d-ba9f-4b3e-b436-1315f2182e3b] 23 X-Request-Id: [f9d8a52a-4ca2-4c89-84db-e8fb8bd0c8ce]
24 X-Runtime: ['0.137891'] 24 X-Runtime: ['1.566837']
25 content-length: ['126'] 25 content-length: ['131']
26 status: {code: 200, message: OK} 26 status: {code: 200, message: OK}
27version: 1 27version: 1
Powered by cgit v1.2.3 (git 2.41.0)