Mastodonplus.py/tests/cassettes/test_instance.yaml
Lorenz Diener e393664974 Test fixups and small 2.8 fixes
Pagination backwards is broken presently.
2019-04-27 21:04:06 +02:00

31 líneas
1,4 KiB
YAML

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.18.4]
method: GET
uri: http://localhost:3000/api/v1/instance/
response:
body: {string: '{"uri":"localhost","title":"Mastodon","description":"","email":"","version":"2.8.0","urls":{"streaming_api":"ws://localhost:4000"},"stats":{"user_count":2,"status_count":45,"domain_count":0},"thumbnail":"http://localhost/packs/media/images/preview-9a17d32fc48369e8ccd910a75260e67d.jpg","languages":["en"],"registrations":true,"contact_account":null}'}
headers:
Cache-Control: ['max-age=300, public']
Content-Type: [application/json; charset=utf-8]
Date: ['Sat, 27 Apr 2019 18:18:07 GMT']
ETag: [W/"fab640311f43bfa9dcc2530421e6a5d2"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN]
X-Permitted-Cross-Domain-Policies: [none]
X-Request-Id: [c470d5ae-04b8-4438-b187-43f7661f4c6e]
X-Runtime: ['0.065653']
X-XSS-Protection: [1; mode=block]
content-length: ['349']
status: {code: 200, message: OK}
version: 1