aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cassettes/test_home_tl.yaml')
-rw-r--r--tests/cassettes/test_home_tl.yaml40
1 files changed, 21 insertions, 19 deletions
diff --git a/tests/cassettes/test_home_tl.yaml b/tests/cassettes/test_home_tl.yaml
index 6cce903..ba00062 100644
--- a/tests/cassettes/test_home_tl.yaml
+++ b/tests/cassettes/test_home_tl.yaml
@@ -12,8 +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":"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 15 body: {string: '{"id":"102945957745456801","created_at":"2019-10-11T21:50:54.083Z","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/102945957745456801","url":"http://localhost/@mastodonpy_test/102945957745456801","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":"","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}'} 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":3,"last_status_at":"2019-10-11T21:50:54.094Z","emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'}
17 headers: 17 headers:
18 Cache-Control: ['no-cache, no-store'] 18 Cache-Control: ['no-cache, no-store']
19 Content-Type: [application/json; charset=utf-8] 19 Content-Type: [application/json; charset=utf-8]
@@ -24,10 +24,10 @@ interactions:
24 X-Download-Options: [noopen] 24 X-Download-Options: [noopen]
25 X-Frame-Options: [SAMEORIGIN] 25 X-Frame-Options: [SAMEORIGIN]
26 X-Permitted-Cross-Domain-Policies: [none] 26 X-Permitted-Cross-Domain-Policies: [none]
27 X-Request-Id: [06550654-471f-4428-9a56-6ffafadea998] 27 X-Request-Id: [4f9250d0-78c7-4b11-9415-082b74f93f95]
28 X-Runtime: ['0.143496'] 28 X-Runtime: ['0.127459']
29 X-XSS-Protection: [1; mode=block] 29 X-XSS-Protection: [1; mode=block]
30 content-length: ['1236'] 30 content-length: ['1280']
31 status: {code: 200, message: OK} 31 status: {code: 200, message: OK}
32- request: 32- request:
33 body: null 33 body: null
@@ -40,15 +40,17 @@ interactions:
40 method: GET 40 method: GET
41 uri: http://localhost:3000/api/v1/timelines/home 41 uri: http://localhost:3000/api/v1/timelines/home
42 response: 42 response:
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 43 body: {string: '[{"id":"102945957745456801","created_at":"2019-10-11T21:50:54.083Z","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/102945957745456801","url":"http://localhost/@mastodonpy_test/102945957745456801","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
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 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":3,"last_status_at":"2019-10-11T21:50:54.094Z","emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null},{"id":"102945954952758038","created_at":"2019-10-11T21:50:11.474Z","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/102945954952758038","url":"http://localhost/@mastodonpy_test/102945954952758038","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"content":"\u003cp\u003eit\u0026apos;s
45 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
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}]'} 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":3,"last_status_at":"2019-10-11T21:50:54.094Z","emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null},{"id":"102315367801315401","created_at":"2019-06-22T13:03:35.156Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost/users/admin/statuses/102315367801315401","url":"http://localhost/@admin/102315367801315401","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"content":"\u003cp\u003enice\u003c/p\u003e","reblog":null,"application":{"name":"Mastodon.py
47 test suite","website":null},"account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2019-06-22T12:42:50.096Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@admin","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":2,"following_count":1,"statuses_count":30,"last_status_at":"2019-10-11T21:49:51.782Z","emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":{"id":"2","expires_at":"2019-06-22T13:08:35.136Z","expired":true,"multiple":false,"votes_count":1,"voters_count":null,"voted":false,"own_votes":[],"options":[{"title":"four
48 twenty","votes_count":0},{"title":"sixty-nine","votes_count":1}],"emojis":[]}}]'}
47 headers: 49 headers:
48 Cache-Control: ['no-cache, no-store'] 50 Cache-Control: ['no-cache, no-store']
49 Content-Type: [application/json; charset=utf-8] 51 Content-Type: [application/json; charset=utf-8]
50 Link: ['<http://localhost:3000/api/v1/timelines/home?max_id=102317295313454223>; 52 Link: ['<http://localhost:3000/api/v1/timelines/home?max_id=102315367801315401>;
51 rel="next", <http://localhost:3000/api/v1/timelines/home?min_id=102317298773058263>; 53 rel="next", <http://localhost:3000/api/v1/timelines/home?min_id=102945957745456801>;
52 rel="prev"'] 54 rel="prev"']
53 Referrer-Policy: [strict-origin-when-cross-origin] 55 Referrer-Policy: [strict-origin-when-cross-origin]
54 Transfer-Encoding: [chunked] 56 Transfer-Encoding: [chunked]
@@ -57,10 +59,10 @@ interactions:
57 X-Download-Options: [noopen] 59 X-Download-Options: [noopen]
58 X-Frame-Options: [SAMEORIGIN] 60 X-Frame-Options: [SAMEORIGIN]
59 X-Permitted-Cross-Domain-Policies: [none] 61 X-Permitted-Cross-Domain-Policies: [none]
60 X-Request-Id: [942b7198-9d9d-47d0-a0fa-a846ca39ecfa] 62 X-Request-Id: [b4fcb7b5-7cd9-4ee2-b39e-2ccdafaa9c75]
61 X-Runtime: ['0.096874'] 63 X-Runtime: ['0.179845']
62 X-XSS-Protection: [1; mode=block] 64 X-XSS-Protection: [1; mode=block]
63 content-length: ['2493'] 65 content-length: ['4028']
64 status: {code: 200, message: OK} 66 status: {code: 200, message: OK}
65- request: 67- request:
66 body: null 68 body: null
@@ -72,10 +74,10 @@ interactions:
72 Content-Length: ['0'] 74 Content-Length: ['0']
73 User-Agent: [python-requests/2.18.4] 75 User-Agent: [python-requests/2.18.4]
74 method: DELETE 76 method: DELETE
75 uri: http://localhost:3000/api/v1/statuses/102317298773058263 77 uri: http://localhost:3000/api/v1/statuses/102945957745456801
76 response: 78 response:
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 79 body: {string: '{"id":"102945957745456801","created_at":"2019-10-11T21:50:54.083Z","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/102945957745456801","url":"http://localhost/@mastodonpy_test/102945957745456801","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
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}'} 80 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":3,"last_status_at":"2019-10-11T21:50:54.094Z","emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'}
79 headers: 81 headers:
80 Cache-Control: ['no-cache, no-store'] 82 Cache-Control: ['no-cache, no-store']
81 Content-Type: [application/json; charset=utf-8] 83 Content-Type: [application/json; charset=utf-8]
@@ -86,9 +88,9 @@ interactions:
86 X-Download-Options: [noopen] 88 X-Download-Options: [noopen]
87 X-Frame-Options: [SAMEORIGIN] 89 X-Frame-Options: [SAMEORIGIN]
88 X-Permitted-Cross-Domain-Policies: [none] 90 X-Permitted-Cross-Domain-Policies: [none]
89 X-Request-Id: [b2e3ae5f-334a-44c3-a52e-18c1f05a1fab] 91 X-Request-Id: [bd7cb08d-4f7a-47fe-a1f0-021e2c55b682]
90 X-Runtime: ['0.091128'] 92 X-Runtime: ['0.157561']
91 X-XSS-Protection: [1; mode=block] 93 X-XSS-Protection: [1; mode=block]
92 content-length: ['1206'] 94 content-length: ['1250']
93 status: {code: 200, message: OK} 95 status: {code: 200, message: OK}
94version: 1 96version: 1
Powered by cgit v1.2.3 (git 2.41.0)