diff options
author | codl <[email protected]> | 2017-11-30 01:54:52 +0100 |
---|---|---|
committer | codl <[email protected]> | 2017-11-30 01:54:52 +0100 |
commit | 9227528a1504ec79cf5af8e4aa15c702215abb3c (patch) | |
tree | 528d1c2cf26d44f10506a29b3134ccef46dcbfa1 /tests/cassettes/test_follow_requests.yaml | |
parent | 2b4008981055f990c23bf42bb65f856231436422 (diff) | |
download | mastodon.py-9227528a1504ec79cf5af8e4aa15c702215abb3c.tar.gz |
add tests for follow request methods
Diffstat (limited to 'tests/cassettes/test_follow_requests.yaml')
-rw-r--r-- | tests/cassettes/test_follow_requests.yaml | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/tests/cassettes/test_follow_requests.yaml b/tests/cassettes/test_follow_requests.yaml new file mode 100644 index 0000000..2fdc788 --- /dev/null +++ b/tests/cassettes/test_follow_requests.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/follow_requests | ||
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/"7f1d3431d40cc617f6f01b30e477e673"] | ||
18 | Transfer-Encoding: [chunked] | ||
19 | Vary: ['Accept-Encoding, Origin'] | ||
20 | X-Content-Type-Options: [nosniff] | ||
21 | X-Frame-Options: [SAMEORIGIN] | ||
22 | X-Request-Id: [a8b8606f-2fe9-4f6d-a236-6db318021be1] | ||
23 | X-Runtime: ['0.028856'] | ||
24 | X-XSS-Protection: [1; mode=block] | ||
25 | content-length: ['2'] | ||
26 | status: {code: 200, message: OK} | ||
27 | version: 1 | ||