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.yaml27
1 files changed, 27 insertions, 0 deletions
diff --git a/tests/cassettes/test_log_in_password.yaml b/tests/cassettes/test_log_in_password.yaml
new file mode 100644
index 0000000..c44bed6
--- /dev/null
+++ b/tests/cassettes/test_log_in_password.yaml
@@ -0,0 +1,27 @@
1interactions:
2- request:
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_ID&client_secret=__MASTODON_PY_TEST_SECRET&scope=read+write+follow
4 headers:
5 Accept: ['*/*']
6 Accept-Encoding: ['gzip, deflate']
7 Connection: [keep-alive]
8 Content-Length: ['221']
9 Content-Type: [application/x-www-form-urlencoded]
10 User-Agent: [python-requests/2.18.4]
11 method: POST
12 uri: http://localhost:3000/oauth/token
13 response:
14 body: {string: '{"access_token":"__MASTODON_PY_TEST_TOKEN","token_type":"bearer","scope":"read
15 write follow","created_at":1511814180}'}
16 headers:
17 Cache-Control: [no-store]
18 Content-Type: [application/json; charset=utf-8]
19 ETag: [W/"f6a22ef91276cdcde8f09c8186d2d41d"]
20 Pragma: [no-cache]
21 Transfer-Encoding: [chunked]
22 Vary: ['Accept-Encoding, Origin']
23 X-Request-Id: [85cb59f1-b92a-4ff8-8a49-c09bed55eb98]
24 X-Runtime: ['0.077197']
25 content-length: ['117']
26 status: {code: 200, message: OK}
27version: 1
Powered by cgit v1.2.3 (git 2.41.0)