aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cassettes/test_log_in_password_to_file.yaml')
-rw-r--r--tests/cassettes/test_log_in_password_to_file.yaml50
1 files changed, 50 insertions, 0 deletions
diff --git a/tests/cassettes/test_log_in_password_to_file.yaml b/tests/cassettes/test_log_in_password_to_file.yaml
index 8b22fe5..f9c4f31 100644
--- a/tests/cassettes/test_log_in_password_to_file.yaml
+++ b/tests/cassettes/test_log_in_password_to_file.yaml
@@ -49,4 +49,54 @@ interactions:
49 X-XSS-Protection: [1; mode=block] 49 X-XSS-Protection: [1; mode=block]
50 content-length: ['571'] 50 content-length: ['571']
51 status: {code: 200, message: OK} 51 status: {code: 200, message: OK}
52- request:
53 body: password=mastodonadmin&redirect_uri=urn%3Aietf%3Awg%3Aoauth%3A2.0%3Aoob&username=admin%40localhost%3A3000&client_secret=__MASTODON_PY_TEST_CLIENT_SECRET&scope=read+write+follow&grant_type=password&client_id=__MASTODON_PY_TEST_CLIENT_ID
54 headers:
55 Accept: ['*/*']
56 Accept-Encoding: ['gzip, deflate']
57 Connection: [keep-alive]
58 Content-Length: ['235']
59 Content-Type: [application/x-www-form-urlencoded]
60 User-Agent: [python-requests/2.9.1]
61 method: POST
62 uri: http://localhost:3000/oauth/token
63 response:
64 body: {string: '{"access_token":"__MASTODON_PY_TEST_ACCESS_TOKEN_2","token_type":"bearer","scope":"read
65 write follow","created_at":1524081846}'}
66 headers:
67 Cache-Control: [no-store]
68 Content-Type: [application/json; charset=utf-8]
69 ETag: [W/"c57fcf388c3eb63010fe039f12a02374"]
70 Pragma: [no-cache]
71 Transfer-Encoding: [chunked]
72 Vary: ['Accept-Encoding, Origin']
73 X-Request-Id: [1b84affa-2aa1-4d58-a45a-e53c07552d0e]
74 X-Runtime: ['0.198551']
75 content-length: ['126']
76 status: {code: 200, message: OK}
77- request:
78 body: null
79 headers:
80 Accept: ['*/*']
81 Accept-Encoding: ['gzip, deflate']
82 Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN_2]
83 Connection: [keep-alive]
84 User-Agent: [python-requests/2.9.1]
85 method: GET
86 uri: http://localhost:3000/api/v1/accounts/verify_credentials
87 response:
88 body: {string: '{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"created_at":"2018-04-17T21:40:55.626Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost:3000/@admin","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":20,"source":{"privacy":"public","sensitive":false,"note":""}}'}
89 headers:
90 Cache-Control: ['max-age=0, private, must-revalidate']
91 Content-Type: [application/json; charset=utf-8]
92 ETag: [W/"0b553118eec8d82a63321efca0e359ef"]
93 Transfer-Encoding: [chunked]
94 Vary: ['Accept-Encoding, Origin']
95 X-Content-Type-Options: [nosniff]
96 X-Frame-Options: [SAMEORIGIN]
97 X-Request-Id: [aafd9996-aa86-44fc-8b26-49b450adbc36]
98 X-Runtime: ['0.040936']
99 X-XSS-Protection: [1; mode=block]
100 content-length: ['571']
101 status: {code: 200, message: OK}
52version: 1 102version: 1
Powered by cgit v1.2.3 (git 2.41.0)