diff options
Diffstat (limited to 'tests/cassettes/test_account_search.yaml')
-rw-r--r-- | tests/cassettes/test_account_search.yaml | 33 |
1 files changed, 4 insertions, 29 deletions
diff --git a/tests/cassettes/test_account_search.yaml b/tests/cassettes/test_account_search.yaml index 06aab91..6cc7b0d 100644 --- a/tests/cassettes/test_account_search.yaml +++ b/tests/cassettes/test_account_search.yaml | |||
@@ -8,44 +8,19 @@ interactions: | |||
8 | Connection: [keep-alive] | 8 | Connection: [keep-alive] |
9 | User-Agent: [python-requests/2.9.1] | 9 | User-Agent: [python-requests/2.9.1] |
10 | method: GET | 10 | method: GET |
11 | uri: http://localhost:3000/api/v1/accounts/search?following=False&q=admin | 11 | uri: http://localhost:3000/api/v1/accounts/search?q=admin&following=False |
12 | response: | ||
13 | body: {string: '[{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"created_at":"2018-04-17T21:40:55.626Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost:3000/@admin","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":1,"following_count":0,"statuses_count":20}]'} | ||
14 | headers: | ||
15 | Cache-Control: ['max-age=0, private, must-revalidate'] | ||
16 | Content-Type: [application/json; charset=utf-8] | ||
17 | ETag: [W/"a33987d51db8acd3a08240e241001040"] | ||
18 | Transfer-Encoding: [chunked] | ||
19 | Vary: ['Accept-Encoding, Origin'] | ||
20 | X-Content-Type-Options: [nosniff] | ||
21 | X-Frame-Options: [SAMEORIGIN] | ||
22 | X-Request-Id: [b956b6ec-6446-42b2-b8bf-7a0210d8d42a] | ||
23 | X-Runtime: ['0.123298'] | ||
24 | X-XSS-Protection: [1; mode=block] | ||
25 | content-length: ['515'] | ||
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/search?following=False&q=admin | ||
37 | response: | 12 | response: |
38 | body: {string: '[]'} | 13 | body: {string: '[]'} |
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/"5e588fc017a83fb7d2ef23e497250076"] | 17 | ETag: [W/"ff6bfee647b6b23b1c55091ca75794ba"] |
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: [8149e8a9-9215-408a-8048-2ab42b24b5cd] | 22 | X-Request-Id: [d2ca3b10-b015-4bcd-83f0-1de04e602251] |
48 | X-Runtime: ['0.107377'] | 23 | X-Runtime: ['0.049612'] |
49 | X-XSS-Protection: [1; mode=block] | 24 | X-XSS-Protection: [1; mode=block] |
50 | content-length: ['2'] | 25 | content-length: ['2'] |
51 | status: {code: 200, message: OK} | 26 | status: {code: 200, message: OK} |