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.yaml16
1 files changed, 8 insertions, 8 deletions
diff --git a/tests/cassettes/test_log_in_password_to_file.yaml b/tests/cassettes/test_log_in_password_to_file.yaml
index 903f7cb..ab35ec2 100644
--- a/tests/cassettes/test_log_in_password_to_file.yaml
+++ b/tests/cassettes/test_log_in_password_to_file.yaml
@@ -1,6 +1,6 @@
1interactions: 1interactions:
2- request: 2- request:
3 body: username=admin%40localhost%3A3000&scope=read+write+follow&redirect_uri=urn%3Aietf%3Awg%3Aoauth%3A2.0%3Aoob&grant_type=password&client_id=__MASTODON_PY_TEST_CLIENT_ID&password=mastodonadmin&client_secret=__MASTODON_PY_TEST_CLIENT_SECRET 3 body: scope=read+write+follow&redirect_uri=urn%3Aietf%3Awg%3Aoauth%3A2.0%3Aoob&client_id=__MASTODON_PY_TEST_CLIENT_ID&username=admin%40localhost%3A3000&grant_type=password&client_secret=__MASTODON_PY_TEST_CLIENT_SECRET&password=mastodonadmin
4 headers: 4 headers:
5 Accept: ['*/*'] 5 Accept: ['*/*']
6 Accept-Encoding: ['gzip, deflate'] 6 Accept-Encoding: ['gzip, deflate']
@@ -16,12 +16,12 @@ interactions:
16 headers: 16 headers:
17 Cache-Control: [no-store] 17 Cache-Control: [no-store]
18 Content-Type: [application/json; charset=utf-8] 18 Content-Type: [application/json; charset=utf-8]
19 ETag: [W/"3146bc67569d7c9f332f4bcd447a1d3f"] 19 ETag: [W/"031072f69dc3fe5d845162c8675818c9"]
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: [63d67f55-d234-4bec-83be-15b5dd799313] 23 X-Request-Id: [dc21e55e-b68b-45c2-8280-a6d80289a498]
24 X-Runtime: ['0.128303'] 24 X-Runtime: ['0.172641']
25 content-length: ['126'] 25 content-length: ['126']
26 status: {code: 200, message: OK} 26 status: {code: 200, message: OK}
27- request: 27- request:
@@ -35,17 +35,17 @@ interactions:
35 method: GET 35 method: GET
36 uri: http://localhost:3000/api/v1/accounts/verify_credentials 36 uri: http://localhost:3000/api/v1/accounts/verify_credentials
37 response: 37 response:
38 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":38,"source":{"privacy":"public","sensitive":false,"note":""}}'} 38 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":46,"source":{"privacy":"public","sensitive":false,"note":""}}'}
39 headers: 39 headers:
40 Cache-Control: ['max-age=0, private, must-revalidate'] 40 Cache-Control: ['max-age=0, private, must-revalidate']
41 Content-Type: [application/json; charset=utf-8] 41 Content-Type: [application/json; charset=utf-8]
42 ETag: [W/"4744ac665ec260e0cf2992419ea025df"] 42 ETag: [W/"dc9a04461cace4111f89956c2cb4c9c7"]
43 Transfer-Encoding: [chunked] 43 Transfer-Encoding: [chunked]
44 Vary: ['Accept-Encoding, Origin'] 44 Vary: ['Accept-Encoding, Origin']
45 X-Content-Type-Options: [nosniff] 45 X-Content-Type-Options: [nosniff]
46 X-Frame-Options: [SAMEORIGIN] 46 X-Frame-Options: [SAMEORIGIN]
47 X-Request-Id: [f578cb7f-06c2-41d3-bf87-3492db415475] 47 X-Request-Id: [99303357-745a-4f78-a082-9aaf17331699]
48 X-Runtime: ['0.037579'] 48 X-Runtime: ['0.045854']
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}
Powered by cgit v1.2.3 (git 2.41.0)