diff options
author | Lorenz Diener <[email protected]> | 2018-04-18 22:07:03 +0200 |
---|---|---|
committer | Lorenz Diener <[email protected]> | 2018-04-18 22:07:03 +0200 |
commit | bc7b9defe8b72b6ab14ade6828a98f4d6e82b1de (patch) | |
tree | 6cd17b03100aa61c1d0a224771577601a1851f59 /tests/cassettes/test_search.yaml | |
parent | 64ec9e20987072692227d8817d9fd99d497fea5e (diff) | |
download | mastodon.py-bc7b9defe8b72b6ab14ade6828a98f4d6e82b1de.tar.gz |
Attempt 2 at fixing the tests for travis
Diffstat (limited to 'tests/cassettes/test_search.yaml')
-rw-r--r-- | tests/cassettes/test_search.yaml | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/tests/cassettes/test_search.yaml b/tests/cassettes/test_search.yaml index f3afe89..4c19f3f 100644 --- a/tests/cassettes/test_search.yaml +++ b/tests/cassettes/test_search.yaml | |||
@@ -26,4 +26,31 @@ interactions: | |||
26 | X-XSS-Protection: [1; mode=block] | 26 | X-XSS-Protection: [1; mode=block] |
27 | content-length: ['807'] | 27 | content-length: ['807'] |
28 | status: {code: 200, message: OK} | 28 | status: {code: 200, message: OK} |
29 | - request: | ||
30 | body: null | ||
31 | headers: | ||
32 | Accept: ['*/*'] | ||
33 | Accept-Encoding: ['gzip, deflate'] | ||
34 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] | ||
35 | Connection: [keep-alive] | ||
36 | User-Agent: [python-requests/2.9.1] | ||
37 | method: GET | ||
38 | uri: http://localhost:3000/api/v1/search?q=mastodonpy_test&resolve=False | ||
39 | response: | ||
40 | body: {string: '{"hashtags":[],"accounts":[{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John | ||
41 | Lennon","locked":true,"created_at":"2018-04-18T20:04:06.511Z","note":"\u003cp\u003eI | ||
42 | walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpe","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpe","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpe","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpe","followers_count":0,"following_count":0,"statuses_count":20}],"statuses":[]}'} | ||
43 | headers: | ||
44 | Cache-Control: ['max-age=0, private, must-revalidate'] | ||
45 | Content-Type: [application/json; charset=utf-8] | ||
46 | ETag: [W/"01cfd3d97b4f72a6e2e21ba6126687ad"] | ||
47 | Transfer-Encoding: [chunked] | ||
48 | Vary: ['Accept-Encoding, Origin'] | ||
49 | X-Content-Type-Options: [nosniff] | ||
50 | X-Frame-Options: [SAMEORIGIN] | ||
51 | X-Request-Id: [2ccb3e39-2cd4-4809-ba5f-9b47434342d5] | ||
52 | X-Runtime: ['0.077626'] | ||
53 | X-XSS-Protection: [1; mode=block] | ||
54 | content-length: ['807'] | ||
55 | status: {code: 200, message: OK} | ||
29 | version: 1 | 56 | version: 1 |