aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cassettes/test_account.yaml')
-rw-r--r--tests/cassettes/test_account.yaml33
1 files changed, 4 insertions, 29 deletions
diff --git a/tests/cassettes/test_account.yaml b/tests/cassettes/test_account.yaml
index 4216e92..43c2ef1 100644
--- a/tests/cassettes/test_account.yaml
+++ b/tests/cassettes/test_account.yaml
@@ -10,42 +10,17 @@ interactions:
10 method: GET 10 method: GET
11 uri: http://localhost:3000/api/v1/accounts/1 11 uri: http://localhost:3000/api/v1/accounts/1
12 response: 12 response:
13 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":1,"following_count":0,"statuses_count":20}'} 13 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}'}
14 headers: 14 headers:
15 Cache-Control: ['max-age=0, private, must-revalidate'] 15 Cache-Control: ['max-age=0, private, must-revalidate']
16 Content-Type: [application/json; charset=utf-8] 16 Content-Type: [application/json; charset=utf-8]
17 ETag: [W/"44631e7a7cfed5cab44ace7743d7e1b1"] 17 ETag: [W/"b60f81e73530b1fa3e05fd8a9d3829f1"]
18 Transfer-Encoding: [chunked] 18 Transfer-Encoding: [chunked]
19 Vary: ['Accept-Encoding, Origin'] 19 Vary: ['Accept-Encoding, Origin']
20 X-Content-Type-Options: [nosniff] 20 X-Content-Type-Options: [nosniff]
21 X-Frame-Options: [SAMEORIGIN] 21 X-Frame-Options: [SAMEORIGIN]
22 X-Request-Id: [99edb4c9-2e2c-47e9-a94f-5bfd8a8b07d2] 22 X-Request-Id: [29094e65-64f2-4640-9454-a7be18938e24]
23 X-Runtime: ['0.042283'] 23 X-Runtime: ['0.031011']
24 X-XSS-Protection: [1; mode=block]
25 content-length: ['513']
26 status: {code: 200, message: OK}
27- request:
28 body: null
29 headers:
30 Accept: ['*/*']
31 Accept-Encoding: ['gzip, deflate']
32 Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN]
33 Connection: [keep-alive]
34 User-Agent: [python-requests/2.9.1]
35 method: GET
36 uri: http://localhost:3000/api/v1/accounts/1
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":20}'}
39 headers:
40 Cache-Control: ['max-age=0, private, must-revalidate']
41 Content-Type: [application/json; charset=utf-8]
42 ETag: [W/"5f97ae867966126fc2de6217338512f0"]
43 Transfer-Encoding: [chunked]
44 Vary: ['Accept-Encoding, Origin']
45 X-Content-Type-Options: [nosniff]
46 X-Frame-Options: [SAMEORIGIN]
47 X-Request-Id: [6b5f172a-0fa9-47f8-9a20-21739bf04767]
48 X-Runtime: ['0.029545']
49 X-XSS-Protection: [1; mode=block] 24 X-XSS-Protection: [1; mode=block]
50 content-length: ['513'] 25 content-length: ['513']
51 status: {code: 200, message: OK} 26 status: {code: 200, message: OK}
Powered by cgit v1.2.3 (git 2.41.0)