aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLorenz Diener <[email protected]>2018-04-18 22:00:35 +0200
committerLorenz Diener <[email protected]>2018-04-18 22:00:35 +0200
commit64ec9e20987072692227d8817d9fd99d497fea5e (patch)
tree7c358d3ce80c30fd59af9e615e99824453eb2f8d /tests/cassettes/test_log_in_password.yaml
parenta825905b571697835d762ac63098491cbc4a0936 (diff)
downloadmastodon.py-64ec9e20987072692227d8817d9fd99d497fea5e.tar.gz
Update the tests
Diffstat (limited to 'tests/cassettes/test_log_in_password.yaml')
-rw-r--r--tests/cassettes/test_log_in_password.yaml24
1 files changed, 12 insertions, 12 deletions
diff --git a/tests/cassettes/test_log_in_password.yaml b/tests/cassettes/test_log_in_password.yaml
index d220e32..365b339 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: !!python/unicode username=admin%40localhost%3A3000&password=mastodonadmin&redirect_uri=urn%3Aietf%3Awg%3Aoauth%3A2.0%3Aoob&client_id=__MASTODON_PY_TEST_CLIENT_ID&scope=read+write+follow&client_secret=__MASTODON_PY_TEST_CLIENT_SECRET&grant_type=password 3 body: grant_type=password&client_secret=__MASTODON_PY_TEST_CLIENT_SECRET&password=mastodonadmin&client_id=__MASTODON_PY_TEST_CLIENT_ID&scope=read+write+follow&username=admin%40localhost%3A3000&redirect_uri=urn%3Aietf%3Awg%3Aoauth%3A2.0%3Aoob
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: ['235']
9 Content-Type: [application/x-www-form-urlencoded] 9 Content-Type: [application/x-www-form-urlencoded]
10 User-Agent: [python-requests/2.18.4] 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: !!python/unicode '{"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":1511992220}'} 15 write follow","created_at":1524081846}'}
16 headers: 16 headers:
17 cache-control: [no-store] 17 Cache-Control: [no-store]
18 Content-Type: [application/json; charset=utf-8]
19 ETag: [W/"42075baef53a80f22d618cca3ac12950"]
20 Pragma: [no-cache]
21 Transfer-Encoding: [chunked]
22 Vary: ['Accept-Encoding, Origin']
23 X-Request-Id: [3a11241d-a353-41e1-802a-779b7c828d3f]
24 X-Runtime: ['0.205584']
18 content-length: ['126'] 25 content-length: ['126']
19 content-type: [application/json; charset=utf-8]
20 etag: [W/"7f19440d01a73bd9685be7280866fa5b"]
21 pragma: [no-cache]
22 transfer-encoding: [chunked]
23 vary: ['Accept-Encoding, Origin']
24 x-request-id: [d33af1b6-ae04-495f-9a8c-720b570e98a9]
25 x-runtime: ['0.244819']
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)