diff options
author | Lorenz Diener <[email protected]> | 2019-04-28 00:14:30 +0200 |
---|---|---|
committer | Lorenz Diener <[email protected]> | 2019-04-28 00:14:30 +0200 |
commit | 429132e9566f33f7f076705b65636dc517060b59 (patch) | |
tree | 95f7876e978148dd95326e57a9f2fadeff617c3b /tests/cassettes | |
parent | 67824478afe41aabb8802efd632fb653dd6e834a (diff) | |
download | mastodon.py-429132e9566f33f7f076705b65636dc517060b59.tar.gz |
Test and document app_verify_credentials
Diffstat (limited to 'tests/cassettes')
-rw-r--r-- | tests/cassettes/test_app_verify_credentials.yaml | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/tests/cassettes/test_app_verify_credentials.yaml b/tests/cassettes/test_app_verify_credentials.yaml new file mode 100644 index 0000000..565dd6d --- /dev/null +++ b/tests/cassettes/test_app_verify_credentials.yaml | |||
@@ -0,0 +1,30 @@ | |||
1 | interactions: | ||
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/apps/verify_credentials | ||
12 | response: | ||
13 | body: {string: '{"name":"Mastodon.py test suite","website":null,"vapid_key":"BCryMB_mKFcSpmXE3kJ1Ri3ZFVdBLjRsX54VYhE21BMyftx8k67qWxFs2OCuQCtj0k1ILESkQhGuOKJcQnodx4g="}'} | ||
14 | headers: | ||
15 | Cache-Control: ['max-age=0, private, must-revalidate'] | ||
16 | Content-Type: [application/json; charset=utf-8] | ||
17 | ETag: [W/"1c464bcb75ad0be8ac7d4c05137d27ce"] | ||
18 | Referrer-Policy: [strict-origin-when-cross-origin] | ||
19 | Transfer-Encoding: [chunked] | ||
20 | Vary: ['Accept-Encoding, Origin'] | ||
21 | X-Content-Type-Options: [nosniff] | ||
22 | X-Download-Options: [noopen] | ||
23 | X-Frame-Options: [SAMEORIGIN] | ||
24 | X-Permitted-Cross-Domain-Policies: [none] | ||
25 | X-Request-Id: [0e7d0027-bc3a-4dfa-9c11-0ea7413eee5b] | ||
26 | X-Runtime: ['0.017202'] | ||
27 | X-XSS-Protection: [1; mode=block] | ||
28 | content-length: ['151'] | ||
29 | status: {code: 200, message: OK} | ||
30 | version: 1 | ||