diff options
Diffstat (limited to 'tests/cassettes/test_account_search.yaml')
-rw-r--r-- | tests/cassettes/test_account_search.yaml | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/tests/cassettes/test_account_search.yaml b/tests/cassettes/test_account_search.yaml index dc90126..31f25e5 100644 --- a/tests/cassettes/test_account_search.yaml +++ b/tests/cassettes/test_account_search.yaml | |||
@@ -6,23 +6,22 @@ interactions: | |||
6 | Accept-Encoding: ['gzip, deflate'] | 6 | Accept-Encoding: ['gzip, deflate'] |
7 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] | 7 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] |
8 | Connection: [keep-alive] | 8 | Connection: [keep-alive] |
9 | User-Agent: [python-requests/2.18.4] | 9 | User-Agent: [python-requests/2.9.1] |
10 | method: GET | 10 | method: GET |
11 | uri: http://localhost:3000/api/v1/accounts/search?q=admin | 11 | uri: http://localhost:3000/api/v1/accounts/search?following=False&q=admin |
12 | response: | 12 | response: |
13 | body: {string: '[{"id":"1","username":"admin","acct":"admin","display_name":"codltest","locked":false,"created_at":"2017-07-01T17:09:15.621Z","note":"\u003cp\u003ehello | 13 | body: {string: '[]'} |
14 | :)\u003c/p\u003e","url":"http://localhost:3000/@admin","avatar":"http://localhost:3000/system/accounts/avatars/000/000/001/original/99b4c443463de195.png","avatar_static":"http://localhost:3000/system/accounts/avatars/000/000/001/original/99b4c443463de195.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":50}]'} | ||
15 | headers: | 14 | headers: |
16 | Cache-Control: ['max-age=0, private, must-revalidate'] | 15 | Cache-Control: ['max-age=0, private, must-revalidate'] |
17 | Content-Type: [application/json; charset=utf-8] | 16 | Content-Type: [application/json; charset=utf-8] |
18 | ETag: [W/"f257564844f554885596d31ac16d0607"] | 17 | ETag: [W/"d21cc31537780b09e689112cad9f33d5"] |
19 | Transfer-Encoding: [chunked] | 18 | Transfer-Encoding: [chunked] |
20 | Vary: ['Accept-Encoding, Origin'] | 19 | Vary: ['Accept-Encoding, Origin'] |
21 | X-Content-Type-Options: [nosniff] | 20 | X-Content-Type-Options: [nosniff] |
22 | X-Frame-Options: [SAMEORIGIN] | 21 | X-Frame-Options: [SAMEORIGIN] |
23 | X-Request-Id: [efde9755-3e09-4e66-89d3-ad28026d0a0a] | 22 | X-Request-Id: [e0308c3e-a422-44e9-9991-80cbeab109c8] |
24 | X-Runtime: ['0.047304'] | 23 | X-Runtime: ['0.071572'] |
25 | X-XSS-Protection: [1; mode=block] | 24 | X-XSS-Protection: [1; mode=block] |
26 | content-length: ['605'] | 25 | content-length: ['2'] |
27 | status: {code: 200, message: OK} | 26 | status: {code: 200, message: OK} |
28 | version: 1 | 27 | version: 1 |