aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcodl <[email protected]>2017-11-30 00:56:35 +0100
committercodl <[email protected]>2017-11-30 00:56:35 +0100
commitf9a52029fc6d399c8fcd85a50060e0f5773da78e (patch)
treeb11bf113ab1bc6bd7ad57a5bed341b2243634a29 /tests/cassettes/test_account_followers.yaml
parent7464315be7c4a2790c83d1528f8d372ce15f0290 (diff)
downloadmastodon.py-f9a52029fc6d399c8fcd85a50060e0f5773da78e.tar.gz
add tests for account methods
Diffstat (limited to 'tests/cassettes/test_account_followers.yaml')
-rw-r--r--tests/cassettes/test_account_followers.yaml28
1 files changed, 28 insertions, 0 deletions
diff --git a/tests/cassettes/test_account_followers.yaml b/tests/cassettes/test_account_followers.yaml
new file mode 100644
index 0000000..d2802fc
--- /dev/null
+++ b/tests/cassettes/test_account_followers.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/followers
12 response:
13 body: {string: '[{"id":"3","username":"codl","acct":"codl","display_name":"","locked":false,"created_at":"2017-11-14T11:40:31.289Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost:3000/@codl","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":1,"statuses_count":3}]'}
14 headers:
15 Cache-Control: ['max-age=0, private, must-revalidate']
16 Content-Type: [application/json; charset=utf-8]
17 ETag: [W/"0fbc972d9b8f61435fef831aa4a846d3"]
18 Link: ['<http://localhost:3000/api/v1/accounts/1/followers?since_id=1>; rel="prev"']
19 Transfer-Encoding: [chunked]
20 Vary: ['Accept-Encoding, Origin']
21 X-Content-Type-Options: [nosniff]
22 X-Frame-Options: [SAMEORIGIN]
23 X-Request-Id: [c83243ad-be5c-4b16-acfc-5a18e80b7a88]
24 X-Runtime: ['0.039199']
25 X-XSS-Protection: [1; mode=block]
26 content-length: ['511']
27 status: {code: 200, message: OK}
28version: 1
Powered by cgit v1.2.3 (git 2.41.0)