aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLorenz Diener <[email protected]>2018-04-18 22:07:03 +0200
committerLorenz Diener <[email protected]>2018-04-18 22:07:03 +0200
commitbc7b9defe8b72b6ab14ade6828a98f4d6e82b1de (patch)
tree6cd17b03100aa61c1d0a224771577601a1851f59 /tests/cassettes/test_instance.yaml
parent64ec9e20987072692227d8817d9fd99d497fea5e (diff)
downloadmastodon.py-bc7b9defe8b72b6ab14ade6828a98f4d6e82b1de.tar.gz
Attempt 2 at fixing the tests for travis
Diffstat (limited to 'tests/cassettes/test_instance.yaml')
-rw-r--r--tests/cassettes/test_instance.yaml25
1 files changed, 25 insertions, 0 deletions
diff --git a/tests/cassettes/test_instance.yaml b/tests/cassettes/test_instance.yaml
index 1370af1..679cc8c 100644
--- a/tests/cassettes/test_instance.yaml
+++ b/tests/cassettes/test_instance.yaml
@@ -24,4 +24,29 @@ interactions:
24 X-XSS-Protection: [1; mode=block] 24 X-XSS-Protection: [1; mode=block]
25 content-length: ['292'] 25 content-length: ['292']
26 status: {code: 200, message: OK} 26 status: {code: 200, message: OK}
27- request:
28 body: null
29 headers:
30 Accept: ['*/*']
31 Accept-Encoding: ['gzip, deflate']
32 Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN]
33 Connection: [keep-alive]
34 User-Agent: [python-requests/2.9.1]
35 method: GET
36 uri: http://localhost:3000/api/v1/instance/
37 response:
38 body: {string: '{"uri":"localhost:3000","title":"Mastodon","description":"","email":"","version":"2.3.3","urls":{"streaming_api":"ws://localhost:4000"},"stats":{"user_count":2,"status_count":40,"domain_count":0},"thumbnail":"http://localhost:3000/packs/preview.jpg","languages":["en"],"contact_account":null}'}
39 headers:
40 Cache-Control: ['max-age=0, private, must-revalidate']
41 Content-Type: [application/json; charset=utf-8]
42 ETag: [W/"d10838ec1c36f518f9275bc7bac36c3d"]
43 Transfer-Encoding: [chunked]
44 Vary: ['Accept-Encoding, Origin']
45 X-Content-Type-Options: [nosniff]
46 X-Frame-Options: [SAMEORIGIN]
47 X-Request-Id: [96e4f613-a2eb-4e63-b237-257989333b97]
48 X-Runtime: ['0.192588']
49 X-XSS-Protection: [1; mode=block]
50 content-length: ['292']
51 status: {code: 200, message: OK}
27version: 1 52version: 1
Powered by cgit v1.2.3 (git 2.41.0)