diff options
author | Lorenz Diener <[email protected]> | 2019-04-27 21:04:06 +0200 |
---|---|---|
committer | Lorenz Diener <[email protected]> | 2019-04-27 21:04:06 +0200 |
commit | e3936649745a627fa2c31fc7b8602793b7d6027b (patch) | |
tree | c478eb7f45acbfe63faec6151a23658dfc0da3e6 /tests/cassettes/test_account_followers.yaml | |
parent | c1418e9f3f37319d5142e0fa058e2eab434c4e5d (diff) | |
download | mastodon.py-e3936649745a627fa2c31fc7b8602793b7d6027b.tar.gz |
Test fixups and small 2.8 fixes
Pagination backwards is broken presently.
Diffstat (limited to 'tests/cassettes/test_account_followers.yaml')
-rw-r--r-- | tests/cassettes/test_account_followers.yaml | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/tests/cassettes/test_account_followers.yaml b/tests/cassettes/test_account_followers.yaml index c13be00..2e42581 100644 --- a/tests/cassettes/test_account_followers.yaml +++ b/tests/cassettes/test_account_followers.yaml | |||
@@ -10,14 +10,11 @@ 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: '[{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John | 13 | body: {string: '[]'} |
14 | Lennon","locked":true,"bot":false,"created_at":"2018-07-13T23:02:25.260Z","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":91,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]}]'} | ||
16 | headers: | 14 | headers: |
17 | Cache-Control: ['max-age=0, private, must-revalidate'] | 15 | Cache-Control: ['max-age=0, private, must-revalidate'] |
18 | Content-Type: [application/json; charset=utf-8] | 16 | Content-Type: [application/json; charset=utf-8] |
19 | ETag: [W/"f69ffe24716111adc344ce4a673b9e96"] | 17 | ETag: [W/"fa588177d9a0b1be8cc336136201d000"] |
20 | Link: ['<http://localhost:3000/api/v1/accounts/1/followers?since_id=27>; rel="prev"'] | ||
21 | Referrer-Policy: [strict-origin-when-cross-origin] | 18 | Referrer-Policy: [strict-origin-when-cross-origin] |
22 | Transfer-Encoding: [chunked] | 19 | Transfer-Encoding: [chunked] |
23 | Vary: ['Accept-Encoding, Origin'] | 20 | Vary: ['Accept-Encoding, Origin'] |
@@ -25,9 +22,9 @@ interactions: | |||
25 | X-Download-Options: [noopen] | 22 | X-Download-Options: [noopen] |
26 | X-Frame-Options: [SAMEORIGIN] | 23 | X-Frame-Options: [SAMEORIGIN] |
27 | X-Permitted-Cross-Domain-Policies: [none] | 24 | X-Permitted-Cross-Domain-Policies: [none] |
28 | X-Request-Id: [27d2d502-4835-4b52-a3b0-bbde6fdc9869] | 25 | X-Request-Id: [1f252244-f15d-4b79-bf05-7c561e1fd0b6] |
29 | X-Runtime: ['0.036106'] | 26 | X-Runtime: ['0.064040'] |
30 | X-XSS-Protection: [1; mode=block] | 27 | X-XSS-Protection: [1; mode=block] |
31 | content-length: ['875'] | 28 | content-length: ['2'] |
32 | status: {code: 200, message: OK} | 29 | status: {code: 200, message: OK} |
33 | version: 1 | 30 | version: 1 |