aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcodl <[email protected]>2017-11-30 02:26:28 +0100
committercodl <[email protected]>2017-11-30 02:26:28 +0100
commit9a9604896c4d586a56b4e53c055a5f762bbaab0d (patch)
treeb1f891ceac048c757c6cb065fa33ebb8ce902747 /tests/cassettes
parentf274e0fb5c7cf0b21db9a7df8c27dcea5637938c (diff)
downloadmastodon.py-9a9604896c4d586a56b4e53c055a5f762bbaab0d.tar.gz
add test for favourites
Diffstat (limited to 'tests/cassettes')
-rw-r--r--tests/cassettes/test_favourites.yaml27
1 files changed, 27 insertions, 0 deletions
diff --git a/tests/cassettes/test_favourites.yaml b/tests/cassettes/test_favourites.yaml
new file mode 100644
index 0000000..1bba85f
--- /dev/null
+++ b/tests/cassettes/test_favourites.yaml
@@ -0,0 +1,27 @@
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.18.4]
10 method: GET
11 uri: http://localhost:3000/api/v1/favourites
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/"81bd415584c93a9b65e719202c32c8f6"]
18 Transfer-Encoding: [chunked]
19 Vary: ['Accept-Encoding, Origin']
20 X-Content-Type-Options: [nosniff]
21 X-Frame-Options: [SAMEORIGIN]
22 X-Request-Id: [0cc085dc-b2c7-4524-9dbf-4b9449f4aa79]
23 X-Runtime: ['0.029419']
24 X-XSS-Protection: [1; mode=block]
25 content-length: ['2']
26 status: {code: 200, message: OK}
27version: 1
Powered by cgit v1.2.3 (git 2.41.0)