From 9227528a1504ec79cf5af8e4aa15c702215abb3c Mon Sep 17 00:00:00 2001 From: codl Date: Thu, 30 Nov 2017 01:54:52 +0100 Subject: add tests for follow request methods --- tests/cassettes/test_follow_requests.yaml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 tests/cassettes/test_follow_requests.yaml (limited to 'tests/cassettes/test_follow_requests.yaml') 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 @@ +interactions: +- request: + body: null + headers: + Accept: ['*/*'] + Accept-Encoding: ['gzip, deflate'] + Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] + Connection: [keep-alive] + User-Agent: [python-requests/2.18.4] + method: GET + uri: http://localhost:3000/api/v1/follow_requests + response: + body: {string: '[]'} + headers: + Cache-Control: ['max-age=0, private, must-revalidate'] + Content-Type: [application/json; charset=utf-8] + ETag: [W/"7f1d3431d40cc617f6f01b30e477e673"] + Transfer-Encoding: [chunked] + Vary: ['Accept-Encoding, Origin'] + X-Content-Type-Options: [nosniff] + X-Frame-Options: [SAMEORIGIN] + X-Request-Id: [a8b8606f-2fe9-4f6d-a236-6db318021be1] + X-Runtime: ['0.028856'] + X-XSS-Protection: [1; mode=block] + content-length: ['2'] + status: {code: 200, message: OK} +version: 1 -- cgit v1.2.3