diff options
author | Lorenz Diener <[email protected]> | 2018-05-07 00:53:13 +0200 |
---|---|---|
committer | Lorenz Diener <[email protected]> | 2018-05-07 00:53:13 +0200 |
commit | 8d5fe70c7e52656b2f89d0acfb1aed23bf583041 (patch) | |
tree | a210ef1ba6255d8f64fdd623de41f0e6931c4508 /tests/cassettes/test_account_followers.yaml | |
parent | c0a0c8f517611d0026d6d37fbe7c57eae1f1a3bb (diff) | |
download | mastodon.py-8d5fe70c7e52656b2f89d0acfb1aed23bf583041.tar.gz |
Fix some bugs, update tests
Diffstat (limited to 'tests/cassettes/test_account_followers.yaml')
-rw-r--r-- | tests/cassettes/test_account_followers.yaml | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/tests/cassettes/test_account_followers.yaml b/tests/cassettes/test_account_followers.yaml index 5145b9b..dfc15d3 100644 --- a/tests/cassettes/test_account_followers.yaml +++ b/tests/cassettes/test_account_followers.yaml | |||
@@ -10,18 +10,21 @@ interactions: | |||
10 | method: GET | 10 | method: GET |
11 | uri: http://localhost:3000/api/v1/accounts/1/followers | 11 | uri: http://localhost:3000/api/v1/accounts/1/followers |
12 | response: | 12 | response: |
13 | body: {string: '[]'} | 13 | body: {string: '[{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John |
14 | Lennon","locked":true,"created_at":"2018-05-07T00:38:05.405Z","note":"\u003cp\u003eI | ||
15 | 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_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":1,"statuses_count":1}]'} | ||
14 | headers: | 16 | headers: |
15 | Cache-Control: ['max-age=0, private, must-revalidate'] | 17 | Cache-Control: ['max-age=0, private, must-revalidate'] |
16 | Content-Type: [application/json; charset=utf-8] | 18 | Content-Type: [application/json; charset=utf-8] |
17 | ETag: [W/"d21cc31537780b09e689112cad9f33d5"] | 19 | ETag: [W/"38d22d88a801dd4cb986a0ddc6db518c"] |
20 | Link: ['<http://localhost:3000/api/v1/accounts/1/followers?since_id=6>; rel="prev"'] | ||
18 | Transfer-Encoding: [chunked] | 21 | Transfer-Encoding: [chunked] |
19 | Vary: ['Accept-Encoding, Origin'] | 22 | Vary: ['Accept-Encoding, Origin'] |
20 | X-Content-Type-Options: [nosniff] | 23 | X-Content-Type-Options: [nosniff] |
21 | X-Frame-Options: [SAMEORIGIN] | 24 | X-Frame-Options: [SAMEORIGIN] |
22 | X-Request-Id: [0aaca704-7d4c-4389-b849-668b9ef09029] | 25 | X-Request-Id: [85399a83-1d02-43d1-9dbd-610526c72a30] |
23 | X-Runtime: ['0.046318'] | 26 | X-Runtime: ['0.056902'] |
24 | X-XSS-Protection: [1; mode=block] | 27 | X-XSS-Protection: [1; mode=block] |
25 | content-length: ['2'] | 28 | content-length: ['769'] |
26 | status: {code: 200, message: OK} | 29 | status: {code: 200, message: OK} |
27 | version: 1 | 30 | version: 1 |