aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cassettes/test_home_tl.yaml')
-rw-r--r--tests/cassettes/test_home_tl.yaml32
1 files changed, 16 insertions, 16 deletions
diff --git a/tests/cassettes/test_home_tl.yaml b/tests/cassettes/test_home_tl.yaml
index ba00062..5da6d7d 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":"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 15 body: {string: '{"id":"102951430853784151","created_at":"2019-10-12T21:02:47.088Z","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/102951430853784151","url":"http://localhost/@mastodonpy_test/102951430853784151","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":3,"last_status_at":"2019-10-11T21:50:54.094Z","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-12T21:02:47.097Z","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,8 +24,8 @@ 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: [4f9250d0-78c7-4b11-9415-082b74f93f95] 27 X-Request-Id: [8f3f8c03-6c8a-4e18-abf4-ccf830a6cb3a]
28 X-Runtime: ['0.127459'] 28 X-Runtime: ['0.149741']
29 X-XSS-Protection: [1; mode=block] 29 X-XSS-Protection: [1; mode=block]
30 content-length: ['1280'] 30 content-length: ['1280']
31 status: {code: 200, message: OK} 31 status: {code: 200, message: OK}
@@ -40,17 +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":"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 43 body: {string: '[{"id":"102951430853784151","created_at":"2019-10-12T21:02:47.088Z","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/102951430853784151","url":"http://localhost/@mastodonpy_test/102951430853784151","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":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 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-12T21:02:47.097Z","emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null},{"id":"102951428073573330","created_at":"2019-10-12T21:02:04.665Z","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/102951428073573330","url":"http://localhost/@mastodonpy_test/102951428073573330","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":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 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-12T21:02:47.097Z","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 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":33,"last_status_at":"2019-10-12T21:01:45.075Z","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":[]}}]'} 48 twenty","votes_count":0},{"title":"sixty-nine","votes_count":1}],"emojis":[]}}]'}
49 headers: 49 headers:
50 Cache-Control: ['no-cache, no-store'] 50 Cache-Control: ['no-cache, no-store']
51 Content-Type: [application/json; charset=utf-8] 51 Content-Type: [application/json; charset=utf-8]
52 Link: ['<http://localhost:3000/api/v1/timelines/home?max_id=102315367801315401>; 52 Link: ['<http://localhost:3000/api/v1/timelines/home?max_id=102315367801315401>;
53 rel="next", <http://localhost:3000/api/v1/timelines/home?min_id=102945957745456801>; 53 rel="next", <http://localhost:3000/api/v1/timelines/home?min_id=102951430853784151>;
54 rel="prev"'] 54 rel="prev"']
55 Referrer-Policy: [strict-origin-when-cross-origin] 55 Referrer-Policy: [strict-origin-when-cross-origin]
56 Transfer-Encoding: [chunked] 56 Transfer-Encoding: [chunked]
@@ -59,8 +59,8 @@ interactions:
59 X-Download-Options: [noopen] 59 X-Download-Options: [noopen]
60 X-Frame-Options: [SAMEORIGIN] 60 X-Frame-Options: [SAMEORIGIN]
61 X-Permitted-Cross-Domain-Policies: [none] 61 X-Permitted-Cross-Domain-Policies: [none]
62 X-Request-Id: [b4fcb7b5-7cd9-4ee2-b39e-2ccdafaa9c75] 62 X-Request-Id: [6db0f925-9d2b-4836-92de-0d4ecb868545]
63 X-Runtime: ['0.179845'] 63 X-Runtime: ['0.149227']
64 X-XSS-Protection: [1; mode=block] 64 X-XSS-Protection: [1; mode=block]
65 content-length: ['4028'] 65 content-length: ['4028']
66 status: {code: 200, message: OK} 66 status: {code: 200, message: OK}
@@ -74,10 +74,10 @@ interactions:
74 Content-Length: ['0'] 74 Content-Length: ['0']
75 User-Agent: [python-requests/2.18.4] 75 User-Agent: [python-requests/2.18.4]
76 method: DELETE 76 method: DELETE
77 uri: http://localhost:3000/api/v1/statuses/102945957745456801 77 uri: http://localhost:3000/api/v1/statuses/102951430853784151
78 response: 78 response:
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 79 body: {string: '{"id":"102951430853784151","created_at":"2019-10-12T21:02:47.088Z","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/102951430853784151","url":"http://localhost/@mastodonpy_test/102951430853784151","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
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}'} 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":2,"last_status_at":"2019-10-12T21:02:47.097Z","emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'}
81 headers: 81 headers:
82 Cache-Control: ['no-cache, no-store'] 82 Cache-Control: ['no-cache, no-store']
83 Content-Type: [application/json; charset=utf-8] 83 Content-Type: [application/json; charset=utf-8]
@@ -88,8 +88,8 @@ interactions:
88 X-Download-Options: [noopen] 88 X-Download-Options: [noopen]
89 X-Frame-Options: [SAMEORIGIN] 89 X-Frame-Options: [SAMEORIGIN]
90 X-Permitted-Cross-Domain-Policies: [none] 90 X-Permitted-Cross-Domain-Policies: [none]
91 X-Request-Id: [bd7cb08d-4f7a-47fe-a1f0-021e2c55b682] 91 X-Request-Id: [baf120b0-b10c-4c85-ba97-4e4351881b8a]
92 X-Runtime: ['0.157561'] 92 X-Runtime: ['0.130441']
93 X-XSS-Protection: [1; mode=block] 93 X-XSS-Protection: [1; mode=block]
94 content-length: ['1250'] 94 content-length: ['1250']
95 status: {code: 200, message: OK} 95 status: {code: 200, message: OK}
Powered by cgit v1.2.3 (git 2.41.0)