diff options
Diffstat (limited to 'tests/cassettes/test_home_tl.yaml')
-rw-r--r-- | tests/cassettes/test_home_tl.yaml | 46 |
1 files changed, 19 insertions, 27 deletions
diff --git a/tests/cassettes/test_home_tl.yaml b/tests/cassettes/test_home_tl.yaml index 75bff6e..6cce903 100644 --- a/tests/cassettes/test_home_tl.yaml +++ b/tests/cassettes/test_home_tl.yaml | |||
@@ -12,10 +12,8 @@ interactions: | |||
12 | method: POST | 12 | method: POST |
13 | uri: http://localhost:3000/api/v1/statuses | 13 | uri: http://localhost:3000/api/v1/statuses |
14 | response: | 14 | response: |
15 | body: {string: '{"id":"102315371910881655","created_at":"2019-06-22T13:04:37.844Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost/users/mastodonpy_test/statuses/102315371910881655","url":"http://localhost/@mastodonpy_test/102315371910881655","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"content":"\u003cp\u003eToot!\u003c/p\u003e","reblog":null,"application":{"name":"Mastodon.py | 15 | body: {string: '{"id":"102317298773058263","created_at":"2019-06-22T21:14:39.429Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost/users/mastodonpy_test/statuses/102317298773058263","url":"http://localhost/@mastodonpy_test/102317298773058263","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"content":"\u003cp\u003eToot!\u003c/p\u003e","reblog":null,"application":{"name":"Mastodon.py |
16 | test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John | 16 | test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"","locked":false,"bot":false,"created_at":"2019-06-22T23:11:52.441Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/avatars/original/missing.png","avatar_static":"http://localhost/avatars/original/missing.png","header":"http://localhost/headers/original/missing.png","header_static":"http://localhost/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":2,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'} |
17 | Lennon","locked":true,"bot":false,"created_at":"2019-06-22T14:46:28.567Z","note":"\u003cp\u003eI | ||
18 | walk funny\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561208564","avatar_static":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561208564","header":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561208564","header_static":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561208564","followers_count":0,"following_count":0,"statuses_count":2,"emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'} | ||
19 | headers: | 17 | headers: |
20 | Cache-Control: ['no-cache, no-store'] | 18 | Cache-Control: ['no-cache, no-store'] |
21 | Content-Type: [application/json; charset=utf-8] | 19 | Content-Type: [application/json; charset=utf-8] |
@@ -26,10 +24,10 @@ interactions: | |||
26 | X-Download-Options: [noopen] | 24 | X-Download-Options: [noopen] |
27 | X-Frame-Options: [SAMEORIGIN] | 25 | X-Frame-Options: [SAMEORIGIN] |
28 | X-Permitted-Cross-Domain-Policies: [none] | 26 | X-Permitted-Cross-Domain-Policies: [none] |
29 | X-Request-Id: [f2f20d83-d4e9-4fb9-abc2-e8873254df85] | 27 | X-Request-Id: [06550654-471f-4428-9a56-6ffafadea998] |
30 | X-Runtime: ['0.150523'] | 28 | X-Runtime: ['0.143496'] |
31 | X-XSS-Protection: [1; mode=block] | 29 | X-XSS-Protection: [1; mode=block] |
32 | content-length: ['1597'] | 30 | content-length: ['1236'] |
33 | status: {code: 200, message: OK} | 31 | status: {code: 200, message: OK} |
34 | - request: | 32 | - request: |
35 | body: null | 33 | body: null |
@@ -42,19 +40,15 @@ interactions: | |||
42 | method: GET | 40 | method: GET |
43 | uri: http://localhost:3000/api/v1/timelines/home | 41 | uri: http://localhost:3000/api/v1/timelines/home |
44 | response: | 42 | response: |
45 | body: {string: '[{"id":"102315371910881655","created_at":"2019-06-22T13:04:37.844Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost/users/mastodonpy_test/statuses/102315371910881655","url":"http://localhost/@mastodonpy_test/102315371910881655","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"content":"\u003cp\u003eToot!\u003c/p\u003e","reblog":null,"application":{"name":"Mastodon.py | 43 | body: {string: '[{"id":"102317298773058263","created_at":"2019-06-22T21:14:39.429Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost/users/mastodonpy_test/statuses/102317298773058263","url":"http://localhost/@mastodonpy_test/102317298773058263","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"content":"\u003cp\u003eToot!\u003c/p\u003e","reblog":null,"application":{"name":"Mastodon.py |
46 | test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John | 44 | test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"","locked":false,"bot":false,"created_at":"2019-06-22T23:11:52.441Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/avatars/original/missing.png","avatar_static":"http://localhost/avatars/original/missing.png","header":"http://localhost/headers/original/missing.png","header_static":"http://localhost/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":2,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null},{"id":"102317295313454223","created_at":"2019-06-22T21:13:46.644Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost/users/mastodonpy_test/statuses/102317295313454223","url":"http://localhost/@mastodonpy_test/102317295313454223","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"content":"\u003cp\u003eit\u0026apos;s |
47 | Lennon","locked":true,"bot":false,"created_at":"2019-06-22T14:46:28.567Z","note":"\u003cp\u003eI | ||
48 | walk funny\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561208564","avatar_static":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561208564","header":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561208564","header_static":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561208564","followers_count":0,"following_count":0,"statuses_count":2,"emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null},{"id":"102315370831297879","created_at":"2019-06-22T13:04:21.374Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost/users/mastodonpy_test/statuses/102315370831297879","url":"http://localhost/@mastodonpy_test/102315370831297879","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"content":"\u003cp\u003eit\u0026apos;s | ||
49 | cool guy\u003c/p\u003e","reblog":null,"application":{"name":"Mastodon.py test | 45 | cool guy\u003c/p\u003e","reblog":null,"application":{"name":"Mastodon.py test |
50 | suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John | 46 | suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"","locked":false,"bot":false,"created_at":"2019-06-22T23:11:52.441Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/avatars/original/missing.png","avatar_static":"http://localhost/avatars/original/missing.png","header":"http://localhost/headers/original/missing.png","header_static":"http://localhost/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":2,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}]'} |
51 | Lennon","locked":true,"bot":false,"created_at":"2019-06-22T14:46:28.567Z","note":"\u003cp\u003eI | ||
52 | walk funny\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561208564","avatar_static":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561208564","header":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561208564","header_static":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561208564","followers_count":0,"following_count":0,"statuses_count":2,"emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}]'} | ||
53 | headers: | 47 | headers: |
54 | Cache-Control: ['no-cache, no-store'] | 48 | Cache-Control: ['no-cache, no-store'] |
55 | Content-Type: [application/json; charset=utf-8] | 49 | Content-Type: [application/json; charset=utf-8] |
56 | Link: ['<http://localhost:3000/api/v1/timelines/home?max_id=102315370831297879>; | 50 | Link: ['<http://localhost:3000/api/v1/timelines/home?max_id=102317295313454223>; |
57 | rel="next", <http://localhost:3000/api/v1/timelines/home?min_id=102315371910881655>; | 51 | rel="next", <http://localhost:3000/api/v1/timelines/home?min_id=102317298773058263>; |
58 | rel="prev"'] | 52 | rel="prev"'] |
59 | Referrer-Policy: [strict-origin-when-cross-origin] | 53 | Referrer-Policy: [strict-origin-when-cross-origin] |
60 | Transfer-Encoding: [chunked] | 54 | Transfer-Encoding: [chunked] |
@@ -63,10 +57,10 @@ interactions: | |||
63 | X-Download-Options: [noopen] | 57 | X-Download-Options: [noopen] |
64 | X-Frame-Options: [SAMEORIGIN] | 58 | X-Frame-Options: [SAMEORIGIN] |
65 | X-Permitted-Cross-Domain-Policies: [none] | 59 | X-Permitted-Cross-Domain-Policies: [none] |
66 | X-Request-Id: [a5976aca-0c15-4645-ad15-d542fe1af05c] | 60 | X-Request-Id: [942b7198-9d9d-47d0-a0fa-a846ca39ecfa] |
67 | X-Runtime: ['0.103635'] | 61 | X-Runtime: ['0.096874'] |
68 | X-XSS-Protection: [1; mode=block] | 62 | X-XSS-Protection: [1; mode=block] |
69 | content-length: ['3215'] | 63 | content-length: ['2493'] |
70 | status: {code: 200, message: OK} | 64 | status: {code: 200, message: OK} |
71 | - request: | 65 | - request: |
72 | body: null | 66 | body: null |
@@ -78,12 +72,10 @@ interactions: | |||
78 | Content-Length: ['0'] | 72 | Content-Length: ['0'] |
79 | User-Agent: [python-requests/2.18.4] | 73 | User-Agent: [python-requests/2.18.4] |
80 | method: DELETE | 74 | method: DELETE |
81 | uri: http://localhost:3000/api/v1/statuses/102315371910881655 | 75 | uri: http://localhost:3000/api/v1/statuses/102317298773058263 |
82 | response: | 76 | response: |
83 | body: {string: '{"id":"102315371910881655","created_at":"2019-06-22T13:04:37.844Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost/users/mastodonpy_test/statuses/102315371910881655","url":"http://localhost/@mastodonpy_test/102315371910881655","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"text":"Toot!","reblog":null,"application":{"name":"Mastodon.py | 77 | body: {string: '{"id":"102317298773058263","created_at":"2019-06-22T21:14:39.429Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost/users/mastodonpy_test/statuses/102317298773058263","url":"http://localhost/@mastodonpy_test/102317298773058263","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"text":"Toot!","reblog":null,"application":{"name":"Mastodon.py |
84 | test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John | 78 | test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"","locked":false,"bot":false,"created_at":"2019-06-22T23:11:52.441Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/avatars/original/missing.png","avatar_static":"http://localhost/avatars/original/missing.png","header":"http://localhost/headers/original/missing.png","header_static":"http://localhost/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":2,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'} |
85 | Lennon","locked":true,"bot":false,"created_at":"2019-06-22T14:46:28.567Z","note":"\u003cp\u003eI | ||
86 | walk funny\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561208564","avatar_static":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561208564","header":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561208564","header_static":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561208564","followers_count":0,"following_count":0,"statuses_count":2,"emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'} | ||
87 | headers: | 79 | headers: |
88 | Cache-Control: ['no-cache, no-store'] | 80 | Cache-Control: ['no-cache, no-store'] |
89 | Content-Type: [application/json; charset=utf-8] | 81 | Content-Type: [application/json; charset=utf-8] |
@@ -94,9 +86,9 @@ interactions: | |||
94 | X-Download-Options: [noopen] | 86 | X-Download-Options: [noopen] |
95 | X-Frame-Options: [SAMEORIGIN] | 87 | X-Frame-Options: [SAMEORIGIN] |
96 | X-Permitted-Cross-Domain-Policies: [none] | 88 | X-Permitted-Cross-Domain-Policies: [none] |
97 | X-Request-Id: [a473cfda-8b29-47bb-810f-e26f2a047885] | 89 | X-Request-Id: [b2e3ae5f-334a-44c3-a52e-18c1f05a1fab] |
98 | X-Runtime: ['0.075744'] | 90 | X-Runtime: ['0.091128'] |
99 | X-XSS-Protection: [1; mode=block] | 91 | X-XSS-Protection: [1; mode=block] |
100 | content-length: ['1567'] | 92 | content-length: ['1206'] |
101 | status: {code: 200, message: OK} | 93 | status: {code: 200, message: OK} |
102 | version: 1 | 94 | version: 1 |