diff options
Diffstat (limited to 'tests/cassettes/test_instance.yaml')
-rw-r--r-- | tests/cassettes/test_instance.yaml | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/cassettes/test_instance.yaml b/tests/cassettes/test_instance.yaml index b7c4921..1370af1 100644 --- a/tests/cassettes/test_instance.yaml +++ b/tests/cassettes/test_instance.yaml | |||
@@ -4,24 +4,24 @@ interactions: | |||
4 | headers: | 4 | headers: |
5 | Accept: ['*/*'] | 5 | Accept: ['*/*'] |
6 | Accept-Encoding: ['gzip, deflate'] | 6 | Accept-Encoding: ['gzip, deflate'] |
7 | Authorization: [Bearer __MASTODON_PY_TEST_TOKEN] | 7 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] |
8 | Connection: [keep-alive] | 8 | Connection: [keep-alive] |
9 | User-Agent: [python-requests/2.18.4] | 9 | User-Agent: [python-requests/2.9.1] |
10 | method: GET | 10 | method: GET |
11 | uri: http://localhost:3000/api/v1/instance/ | 11 | uri: http://localhost:3000/api/v1/instance/ |
12 | response: | 12 | response: |
13 | body: {string: '{"uri":"localhost:3000","title":"Mastodon","description":"","email":"","version":"2.0.0","urls":{"streaming_api":"ws://localhost:4000"},"stats":{"user_count":2,"status_count":22,"domain_count":1},"thumbnail":null}'} | 13 | 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}'} |
14 | headers: | 14 | headers: |
15 | Cache-Control: ['max-age=0, private, must-revalidate'] | 15 | Cache-Control: ['max-age=0, private, must-revalidate'] |
16 | Content-Type: [application/json; charset=utf-8] | 16 | Content-Type: [application/json; charset=utf-8] |
17 | ETag: [W/"c5c80940c21c432b7b5c69bcf67a8ff3"] | 17 | ETag: [W/"cc006bfb3d7d0e9c8ba0152279a6e0fc"] |
18 | Transfer-Encoding: [chunked] | 18 | Transfer-Encoding: [chunked] |
19 | Vary: ['Accept-Encoding, Origin'] | 19 | Vary: ['Accept-Encoding, Origin'] |
20 | X-Content-Type-Options: [nosniff] | 20 | X-Content-Type-Options: [nosniff] |
21 | X-Frame-Options: [SAMEORIGIN] | 21 | X-Frame-Options: [SAMEORIGIN] |
22 | X-Request-Id: [23b994ca-448c-42a7-a107-c39e58742541] | 22 | X-Request-Id: [25947583-c3d8-4be9-bc34-6e2aeda8975d] |
23 | X-Runtime: ['0.046093'] | 23 | X-Runtime: ['0.182618'] |
24 | X-XSS-Protection: [1; mode=block] | 24 | X-XSS-Protection: [1; mode=block] |
25 | content-length: ['213'] | 25 | content-length: ['292'] |
26 | status: {code: 200, message: OK} | 26 | status: {code: 200, message: OK} |
27 | version: 1 | 27 | version: 1 |