aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cassettes/test_account.yaml')
-rw-r--r--tests/cassettes/test_account.yaml28
1 files changed, 28 insertions, 0 deletions
diff --git a/tests/cassettes/test_account.yaml b/tests/cassettes/test_account.yaml
new file mode 100644
index 0000000..0d3fcf0
--- /dev/null
+++ b/tests/cassettes/test_account.yaml
@@ -0,0 +1,28 @@
1interactions:
2- request:
3 body: null
4 headers:
5 Accept: ['*/*']
6 Accept-Encoding: ['gzip, deflate']
7 Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN]
8 Connection: [keep-alive]
9 User-Agent: [python-requests/2.18.4]
10 method: GET
11 uri: http://localhost:3000/api/v1/accounts/1
12 response:
13 body: {string: '{"id":"1","username":"admin","acct":"admin","display_name":"codltest","locked":false,"created_at":"2017-07-01T17:09:15.621Z","note":"\u003cp\u003ehello
14 :)\u003c/p\u003e","url":"http://localhost:3000/@admin","avatar":"http://localhost:3000/system/accounts/avatars/000/000/001/original/99b4c443463de195.png","avatar_static":"http://localhost:3000/system/accounts/avatars/000/000/001/original/99b4c443463de195.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":50}'}
15 headers:
16 Cache-Control: ['max-age=0, private, must-revalidate']
17 Content-Type: [application/json; charset=utf-8]
18 ETag: [W/"e9bdeb1ccc287b8c6a125f2e31149bc2"]
19 Transfer-Encoding: [chunked]
20 Vary: ['Accept-Encoding, Origin']
21 X-Content-Type-Options: [nosniff]
22 X-Frame-Options: [SAMEORIGIN]
23 X-Request-Id: [8131bec0-f48e-4786-8ead-21a2c0e5cf98]
24 X-Runtime: ['0.047639']
25 X-XSS-Protection: [1; mode=block]
26 content-length: ['603']
27 status: {code: 200, message: OK}
28version: 1
Powered by cgit v1.2.3 (git 2.41.0)