From f8e209f6ff70d3be08b71b05f4cec753a9dac926 Mon Sep 17 00:00:00 2001 From: Lorenz Diener Date: Sun, 6 May 2018 02:26:19 +0200 Subject: Add more tests --- tests/cassettes/test_instance_peers.yaml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 tests/cassettes/test_instance_peers.yaml (limited to 'tests/cassettes/test_instance_peers.yaml') diff --git a/tests/cassettes/test_instance_peers.yaml b/tests/cassettes/test_instance_peers.yaml new file mode 100644 index 0000000..0f70fc0 --- /dev/null +++ b/tests/cassettes/test_instance_peers.yaml @@ -0,0 +1,28 @@ +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.9.1] + method: GET + uri: http://localhost:3000/api/v1/instance/peers + response: + body: {string: '[]'} + headers: + Cache-Control: ['max-age=86400, public'] + Content-Type: [application/json; charset=utf-8] + Date: ['Sun, 06 May 2018 00:24:52 GMT'] + ETag: [W/"3c4a13455f997cff85b40946e8a0eb9d"] + Transfer-Encoding: [chunked] + Vary: ['Accept-Encoding, Origin'] + X-Content-Type-Options: [nosniff] + X-Frame-Options: [SAMEORIGIN] + X-Request-Id: [98dc4df6-9979-4d50-8473-96f9253d65b9] + X-Runtime: ['0.031372'] + X-XSS-Protection: [1; mode=block] + content-length: ['2'] + status: {code: 200, message: OK} +version: 1 -- cgit v1.2.3