aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLorenz Diener <[email protected]>2018-05-06 02:26:19 +0200
committerLorenz Diener <[email protected]>2018-05-06 02:26:19 +0200
commitf8e209f6ff70d3be08b71b05f4cec753a9dac926 (patch)
tree01d8c51afadb49350b2fde718f2a5cb1351b2d2f /tests/cassettes/test_instance_peers.yaml
parentf34a1803a398a94f1231345145140291cd699398 (diff)
downloadmastodon.py-f8e209f6ff70d3be08b71b05f4cec753a9dac926.tar.gz
Add more tests
Diffstat (limited to 'tests/cassettes/test_instance_peers.yaml')
-rw-r--r--tests/cassettes/test_instance_peers.yaml28
1 files changed, 28 insertions, 0 deletions
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 @@
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.9.1]
10 method: GET
11 uri: http://localhost:3000/api/v1/instance/peers
12 response:
13 body: {string: '[]'}
14 headers:
15 Cache-Control: ['max-age=86400, public']
16 Content-Type: [application/json; charset=utf-8]
17 Date: ['Sun, 06 May 2018 00:24:52 GMT']
18 ETag: [W/"3c4a13455f997cff85b40946e8a0eb9d"]
19 Transfer-Encoding: [chunked]
20 Vary: ['Accept-Encoding, Origin']
21 X-Content-Type-Options: [nosniff]
22 X-Frame-Options: [SAMEORIGIN]
23 X-Request-Id: [98dc4df6-9979-4d50-8473-96f9253d65b9]
24 X-Runtime: ['0.031372']
25 X-XSS-Protection: [1; mode=block]
26 content-length: ['2']
27 status: {code: 200, message: OK}
28version: 1
Powered by cgit v1.2.3 (git 2.41.0)