diff options
author | codl <[email protected]> | 2017-11-30 00:56:35 +0100 |
---|---|---|
committer | codl <[email protected]> | 2017-11-30 00:56:35 +0100 |
commit | f9a52029fc6d399c8fcd85a50060e0f5773da78e (patch) | |
tree | b11bf113ab1bc6bd7ad57a5bed341b2243634a29 /tests/cassettes/test_account_following.yaml | |
parent | 7464315be7c4a2790c83d1528f8d372ce15f0290 (diff) | |
download | mastodon.py-f9a52029fc6d399c8fcd85a50060e0f5773da78e.tar.gz |
add tests for account methods
Diffstat (limited to 'tests/cassettes/test_account_following.yaml')
-rw-r--r-- | tests/cassettes/test_account_following.yaml | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/tests/cassettes/test_account_following.yaml b/tests/cassettes/test_account_following.yaml new file mode 100644 index 0000000..1e872d1 --- /dev/null +++ b/tests/cassettes/test_account_following.yaml | |||
@@ -0,0 +1,27 @@ | |||
1 | interactions: | ||
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/following | ||
12 | response: | ||
13 | body: {string: '[]'} | ||
14 | headers: | ||
15 | Cache-Control: ['max-age=0, private, must-revalidate'] | ||
16 | Content-Type: [application/json; charset=utf-8] | ||
17 | ETag: [W/"c52068b0fe39c86669dce2267d90925e"] | ||
18 | Transfer-Encoding: [chunked] | ||
19 | Vary: ['Accept-Encoding, Origin'] | ||
20 | X-Content-Type-Options: [nosniff] | ||
21 | X-Frame-Options: [SAMEORIGIN] | ||
22 | X-Request-Id: [9df6a517-2e2e-499b-b0a5-0b1d6cea9f1a] | ||
23 | X-Runtime: ['0.037545'] | ||
24 | X-XSS-Protection: [1; mode=block] | ||
25 | content-length: ['2'] | ||
26 | status: {code: 200, message: OK} | ||
27 | version: 1 | ||