diff options
author | Lorenz Diener <[email protected]> | 2018-05-06 01:37:13 +0200 |
---|---|---|
committer | Lorenz Diener <[email protected]> | 2018-05-06 01:37:13 +0200 |
commit | a15d28d9d60128fd5551f05eccd8999b46f70f5e (patch) | |
tree | 84c2e92799983594138a9a4fc4ec7dab429e52bf /tests/cassettes/test_account_relationships.yaml | |
parent | ad6b8eeb044760adf4b420199164b245012350f4 (diff) | |
download | mastodon.py-a15d28d9d60128fd5551f05eccd8999b46f70f5e.tar.gz |
Testing updates, can now test streaming API
Diffstat (limited to 'tests/cassettes/test_account_relationships.yaml')
-rw-r--r-- | tests/cassettes/test_account_relationships.yaml | 31 |
1 files changed, 3 insertions, 28 deletions
diff --git a/tests/cassettes/test_account_relationships.yaml b/tests/cassettes/test_account_relationships.yaml index ed7a66a..301fffc 100644 --- a/tests/cassettes/test_account_relationships.yaml +++ b/tests/cassettes/test_account_relationships.yaml | |||
@@ -10,42 +10,17 @@ interactions: | |||
10 | method: GET | 10 | method: GET |
11 | uri: http://localhost:3000/api/v1/accounts/relationships?id=1 | 11 | uri: http://localhost:3000/api/v1/accounts/relationships?id=1 |
12 | response: | 12 | response: |
13 | body: {string: '[{"id":"1","following":true,"showing_reblogs":true,"followed_by":false,"blocking":false,"muting":false,"muting_notifications":false,"requested":false,"domain_blocking":false}]'} | ||
14 | headers: | ||
15 | Cache-Control: ['max-age=0, private, must-revalidate'] | ||
16 | Content-Type: [application/json; charset=utf-8] | ||
17 | ETag: [W/"12d5a2183002439a527d0994653bd88e"] | ||
18 | Transfer-Encoding: [chunked] | ||
19 | Vary: ['Accept-Encoding, Origin'] | ||
20 | X-Content-Type-Options: [nosniff] | ||
21 | X-Frame-Options: [SAMEORIGIN] | ||
22 | X-Request-Id: [b18690e8-8bc8-4740-9068-1388a2c6b506] | ||
23 | X-Runtime: ['0.059159'] | ||
24 | X-XSS-Protection: [1; mode=block] | ||
25 | content-length: ['175'] | ||
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/accounts/relationships?id=1 | ||
37 | response: | ||
38 | body: {string: '[{"id":"1","following":false,"showing_reblogs":false,"followed_by":false,"blocking":false,"muting":false,"muting_notifications":false,"requested":false,"domain_blocking":false}]'} | 13 | body: {string: '[{"id":"1","following":false,"showing_reblogs":false,"followed_by":false,"blocking":false,"muting":false,"muting_notifications":false,"requested":false,"domain_blocking":false}]'} |
39 | headers: | 14 | headers: |
40 | Cache-Control: ['max-age=0, private, must-revalidate'] | 15 | Cache-Control: ['max-age=0, private, must-revalidate'] |
41 | Content-Type: [application/json; charset=utf-8] | 16 | Content-Type: [application/json; charset=utf-8] |
42 | ETag: [W/"fbf17fbd279a2aa92e05f444fd3a4467"] | 17 | ETag: [W/"b0baab1111c457b31007d77e975704d0"] |
43 | Transfer-Encoding: [chunked] | 18 | Transfer-Encoding: [chunked] |
44 | Vary: ['Accept-Encoding, Origin'] | 19 | Vary: ['Accept-Encoding, Origin'] |
45 | X-Content-Type-Options: [nosniff] | 20 | X-Content-Type-Options: [nosniff] |
46 | X-Frame-Options: [SAMEORIGIN] | 21 | X-Frame-Options: [SAMEORIGIN] |
47 | X-Request-Id: [6ac6e3a9-f065-409a-87ae-2cc44d9fcfec] | 22 | X-Request-Id: [50bc4815-b31a-4638-ac24-49adea9398e3] |
48 | X-Runtime: ['0.079264'] | 23 | X-Runtime: ['0.075910'] |
49 | X-XSS-Protection: [1; mode=block] | 24 | X-XSS-Protection: [1; mode=block] |
50 | content-length: ['177'] | 25 | content-length: ['177'] |
51 | status: {code: 200, message: OK} | 26 | status: {code: 200, message: OK} |