diff options
Diffstat (limited to 'tests/cassettes/test_hashtag_tl.yaml')
-rw-r--r-- | tests/cassettes/test_hashtag_tl.yaml | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/tests/cassettes/test_hashtag_tl.yaml b/tests/cassettes/test_hashtag_tl.yaml index 9fedce7..56cd7cc 100644 --- a/tests/cassettes/test_hashtag_tl.yaml +++ b/tests/cassettes/test_hashtag_tl.yaml | |||
@@ -12,10 +12,10 @@ 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":"102317296784323472","created_at":"2019-06-22T21:14:09.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/102317296784323472","url":"http://localhost/@mastodonpy_test/102317296784323472","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"content":"\u003cp\u003e\u003ca | 15 | body: {string: '{"id":"102945957780980013","created_at":"2019-10-11T21:50:54.628Z","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/102945957780980013","url":"http://localhost/@mastodonpy_test/102945957780980013","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"content":"\u003cp\u003e\u003ca |
16 | href=\"http://localhost/tags/hoot\" class=\"mention hashtag\" rel=\"tag\"\u003e#\u003cspan\u003ehoot\u003c/span\u003e\u003c/a\u003e | 16 | href=\"http://localhost/tags/hoot\" class=\"mention hashtag\" rel=\"tag\"\u003e#\u003cspan\u003ehoot\u003c/span\u003e\u003c/a\u003e |
17 | (hashtag toot)\u003c/p\u003e","reblog":null,"application":{"name":"Mastodon.py | 17 | (hashtag toot)\u003c/p\u003e","reblog":null,"application":{"name":"Mastodon.py |
18 | 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":[{"name":"hoot","url":"http://localhost/tags/hoot"}],"emojis":[],"card":null,"poll":null}'} | 18 | 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.637Z","emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[{"name":"hoot","url":"http://localhost/tags/hoot"}],"emojis":[],"card":null,"poll":null}'} |
19 | headers: | 19 | headers: |
20 | Cache-Control: ['no-cache, no-store'] | 20 | Cache-Control: ['no-cache, no-store'] |
21 | Content-Type: [application/json; charset=utf-8] | 21 | Content-Type: [application/json; charset=utf-8] |
@@ -26,10 +26,10 @@ interactions: | |||
26 | X-Download-Options: [noopen] | 26 | X-Download-Options: [noopen] |
27 | X-Frame-Options: [SAMEORIGIN] | 27 | X-Frame-Options: [SAMEORIGIN] |
28 | X-Permitted-Cross-Domain-Policies: [none] | 28 | X-Permitted-Cross-Domain-Policies: [none] |
29 | X-Request-Id: [aa74453b-7b50-4f59-b015-d35ad2253888] | 29 | X-Request-Id: [4f8ab7d5-9a31-4ff3-a810-7cfef24307ed] |
30 | X-Runtime: ['0.199622'] | 30 | X-Runtime: ['0.152788'] |
31 | X-XSS-Protection: [1; mode=block] | 31 | X-XSS-Protection: [1; mode=block] |
32 | content-length: ['1435'] | 32 | content-length: ['1479'] |
33 | status: {code: 200, message: OK} | 33 | status: {code: 200, message: OK} |
34 | - request: | 34 | - request: |
35 | body: null | 35 | body: null |
@@ -42,15 +42,15 @@ interactions: | |||
42 | method: GET | 42 | method: GET |
43 | uri: http://localhost:3000/api/v1/timelines/tag/hoot | 43 | uri: http://localhost:3000/api/v1/timelines/tag/hoot |
44 | response: | 44 | response: |
45 | body: {string: '[{"id":"102317296784323472","created_at":"2019-06-22T21:14:09.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/102317296784323472","url":"http://localhost/@mastodonpy_test/102317296784323472","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"content":"\u003cp\u003e\u003ca | 45 | body: {string: '[{"id":"102945957780980013","created_at":"2019-10-11T21:50:54.628Z","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/102945957780980013","url":"http://localhost/@mastodonpy_test/102945957780980013","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"content":"\u003cp\u003e\u003ca |
46 | href=\"http://localhost/tags/hoot\" class=\"mention hashtag\" rel=\"tag\"\u003e#\u003cspan\u003ehoot\u003c/span\u003e\u003c/a\u003e | 46 | href=\"http://localhost/tags/hoot\" class=\"mention hashtag\" rel=\"tag\"\u003e#\u003cspan\u003ehoot\u003c/span\u003e\u003c/a\u003e |
47 | (hashtag toot)\u003c/p\u003e","reblog":null,"application":{"name":"Mastodon.py | 47 | (hashtag toot)\u003c/p\u003e","reblog":null,"application":{"name":"Mastodon.py |
48 | 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":[{"name":"hoot","url":"http://localhost/tags/hoot"}],"emojis":[],"card":null,"poll":null}]'} | 48 | 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.637Z","emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[{"name":"hoot","url":"http://localhost/tags/hoot"}],"emojis":[],"card":null,"poll":null}]'} |
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/tag/hoot?max_id=102317296784323472>; | 52 | Link: ['<http://localhost:3000/api/v1/timelines/tag/hoot?max_id=102945957780980013>; |
53 | rel="next", <http://localhost:3000/api/v1/timelines/tag/hoot?min_id=102317296784323472>; | 53 | rel="next", <http://localhost:3000/api/v1/timelines/tag/hoot?min_id=102945957780980013>; |
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,10 +59,10 @@ 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: [f8f0cdc1-830a-48d8-8adc-c5748b9db80a] | 62 | X-Request-Id: [b600d464-23a4-4f21-8216-a9a3c33c540a] |
63 | X-Runtime: ['0.080257'] | 63 | X-Runtime: ['0.118853'] |
64 | X-XSS-Protection: [1; mode=block] | 64 | X-XSS-Protection: [1; mode=block] |
65 | content-length: ['1437'] | 65 | content-length: ['1481'] |
66 | status: {code: 200, message: OK} | 66 | status: {code: 200, message: OK} |
67 | - request: | 67 | - request: |
68 | body: null | 68 | body: null |
@@ -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/102317296784323472 | 77 | uri: http://localhost:3000/api/v1/statuses/102945957780980013 |
78 | response: | 78 | response: |
79 | body: {string: '{"id":"102317296784323472","created_at":"2019-06-22T21:14:09.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/102317296784323472","url":"http://localhost/@mastodonpy_test/102317296784323472","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"text":"#hoot | 79 | body: {string: '{"id":"102945957780980013","created_at":"2019-10-11T21:50:54.628Z","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/102945957780980013","url":"http://localhost/@mastodonpy_test/102945957780980013","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"text":"#hoot |
80 | (hashtag toot)","reblog":null,"application":{"name":"Mastodon.py 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":[{"name":"hoot","url":"http://localhost/tags/hoot"}],"emojis":[],"card":null,"poll":null}'} | 80 | (hashtag toot)","reblog":null,"application":{"name":"Mastodon.py 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.637Z","emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[{"name":"hoot","url":"http://localhost/tags/hoot"}],"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,9 +88,9 @@ 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: [c6546e60-fa7b-4fb6-8b79-6d607272b676] | 91 | X-Request-Id: [76bfc8e0-05d1-4ddd-8981-d1c1bc459a90] |
92 | X-Runtime: ['0.070772'] | 92 | X-Runtime: ['0.085879'] |
93 | X-XSS-Protection: [1; mode=block] | 93 | X-XSS-Protection: [1; mode=block] |
94 | content-length: ['1271'] | 94 | content-length: ['1315'] |
95 | status: {code: 200, message: OK} | 95 | status: {code: 200, message: OK} |
96 | version: 1 | 96 | version: 1 |