diff options
Diffstat (limited to 'tests/cassettes/test_hashtag_tl.yaml')
-rw-r--r-- | tests/cassettes/test_hashtag_tl.yaml | 54 |
1 files changed, 27 insertions, 27 deletions
diff --git a/tests/cassettes/test_hashtag_tl.yaml b/tests/cassettes/test_hashtag_tl.yaml index dad2011..9109400 100644 --- a/tests/cassettes/test_hashtag_tl.yaml +++ b/tests/cassettes/test_hashtag_tl.yaml | |||
@@ -12,16 +12,15 @@ 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":"101999522702622961","created_at":"2019-04-27T18:20:01.413Z","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/101999522702622961","content":"\u003cp\u003e\u003ca | 15 | body: {string: '{"id":"102315371935886180","created_at":"2019-06-22T13:04:38.253Z","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/102315371935886180","url":"http://localhost/@mastodonpy_test/102315371935886180","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","url":"http://localhost/@mastodonpy_test/101999522702622961","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"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":"John | 18 | test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John |
19 | Lennon","locked":true,"bot":false,"created_at":"2019-04-27T20:03:12.393Z","note":"\u003cp\u003eI | 19 | Lennon","locked":true,"bot":false,"created_at":"2019-06-22T14:46:28.567Z","note":"\u003cp\u003eI |
20 | walk funny\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1556389071","avatar_static":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1556389071","header":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1556389071","header_static":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1556389071","followers_count":0,"following_count":0,"statuses_count":64,"emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]},"media_attachments":[],"mentions":[],"tags":[{"name":"hoot","url":"http://localhost/tags/hoot"}],"emojis":[],"card":null,"poll":null}'} | 20 | 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":[{"name":"hoot","url":"http://localhost/tags/hoot"}],"emojis":[],"card":null,"poll":null}'} |
21 | headers: | 21 | headers: |
22 | Cache-Control: ['max-age=0, private, must-revalidate'] | 22 | Cache-Control: ['no-cache, no-store'] |
23 | Content-Type: [application/json; charset=utf-8] | 23 | Content-Type: [application/json; charset=utf-8] |
24 | ETag: [W/"3c739053e64fe14c6c22e5bbc83eecce"] | ||
25 | Referrer-Policy: [strict-origin-when-cross-origin] | 24 | Referrer-Policy: [strict-origin-when-cross-origin] |
26 | Transfer-Encoding: [chunked] | 25 | Transfer-Encoding: [chunked] |
27 | Vary: ['Accept-Encoding, Origin'] | 26 | Vary: ['Accept-Encoding, Origin'] |
@@ -29,10 +28,10 @@ interactions: | |||
29 | X-Download-Options: [noopen] | 28 | X-Download-Options: [noopen] |
30 | X-Frame-Options: [SAMEORIGIN] | 29 | X-Frame-Options: [SAMEORIGIN] |
31 | X-Permitted-Cross-Domain-Policies: [none] | 30 | X-Permitted-Cross-Domain-Policies: [none] |
32 | X-Request-Id: [1c9a6ae3-9c75-468c-916e-86da9e1b6031] | 31 | X-Request-Id: [22d90296-9ed5-456b-bc39-0e56baf8fe98] |
33 | X-Runtime: ['0.265843'] | 32 | X-Runtime: ['0.250220'] |
34 | X-XSS-Protection: [1; mode=block] | 33 | X-XSS-Protection: [1; mode=block] |
35 | content-length: ['1797'] | 34 | content-length: ['1796'] |
36 | status: {code: 200, message: OK} | 35 | status: {code: 200, message: OK} |
37 | - request: | 36 | - request: |
38 | body: null | 37 | body: null |
@@ -45,18 +44,17 @@ interactions: | |||
45 | method: GET | 44 | method: GET |
46 | uri: http://localhost:3000/api/v1/timelines/tag/hoot | 45 | uri: http://localhost:3000/api/v1/timelines/tag/hoot |
47 | response: | 46 | response: |
48 | body: {string: '[{"id":"101999522702622961","created_at":"2019-04-27T18:20:01.413Z","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/101999522702622961","content":"\u003cp\u003e\u003ca | 47 | body: {string: '[{"id":"102315371935886180","created_at":"2019-06-22T13:04:38.253Z","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/102315371935886180","url":"http://localhost/@mastodonpy_test/102315371935886180","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"content":"\u003cp\u003e\u003ca |
49 | href=\"http://localhost/tags/hoot\" class=\"mention hashtag\" rel=\"tag\"\u003e#\u003cspan\u003ehoot\u003c/span\u003e\u003c/a\u003e | 48 | href=\"http://localhost/tags/hoot\" class=\"mention hashtag\" rel=\"tag\"\u003e#\u003cspan\u003ehoot\u003c/span\u003e\u003c/a\u003e |
50 | (hashtag toot)\u003c/p\u003e","url":"http://localhost/@mastodonpy_test/101999522702622961","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py | 49 | (hashtag toot)\u003c/p\u003e","reblog":null,"application":{"name":"Mastodon.py |
51 | test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John | 50 | test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John |
52 | Lennon","locked":true,"bot":false,"created_at":"2019-04-27T20:03:12.393Z","note":"\u003cp\u003eI | 51 | Lennon","locked":true,"bot":false,"created_at":"2019-06-22T14:46:28.567Z","note":"\u003cp\u003eI |
53 | walk funny\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1556389071","avatar_static":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1556389071","header":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1556389071","header_static":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1556389071","followers_count":0,"following_count":0,"statuses_count":64,"emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]},"media_attachments":[],"mentions":[],"tags":[{"name":"hoot","url":"http://localhost/tags/hoot"}],"emojis":[],"card":null,"poll":null}]'} | 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":[{"name":"hoot","url":"http://localhost/tags/hoot"}],"emojis":[],"card":null,"poll":null}]'} |
54 | headers: | 53 | headers: |
55 | Cache-Control: ['max-age=0, private, must-revalidate'] | 54 | Cache-Control: ['no-cache, no-store'] |
56 | Content-Type: [application/json; charset=utf-8] | 55 | Content-Type: [application/json; charset=utf-8] |
57 | ETag: [W/"07c64e813b0a627a237eaa3791f92e8f"] | 56 | Link: ['<http://localhost:3000/api/v1/timelines/tag/hoot?max_id=102315371935886180>; |
58 | Link: ['<http://localhost:3000/api/v1/timelines/tag/hoot?max_id=101999522702622961>; | 57 | rel="next", <http://localhost:3000/api/v1/timelines/tag/hoot?min_id=102315371935886180>; |
59 | rel="next", <http://localhost:3000/api/v1/timelines/tag/hoot?min_id=101999522702622961>; | ||
60 | rel="prev"'] | 58 | rel="prev"'] |
61 | Referrer-Policy: [strict-origin-when-cross-origin] | 59 | Referrer-Policy: [strict-origin-when-cross-origin] |
62 | Transfer-Encoding: [chunked] | 60 | Transfer-Encoding: [chunked] |
@@ -65,10 +63,10 @@ interactions: | |||
65 | X-Download-Options: [noopen] | 63 | X-Download-Options: [noopen] |
66 | X-Frame-Options: [SAMEORIGIN] | 64 | X-Frame-Options: [SAMEORIGIN] |
67 | X-Permitted-Cross-Domain-Policies: [none] | 65 | X-Permitted-Cross-Domain-Policies: [none] |
68 | X-Request-Id: [8221b0a7-145c-4136-99be-d14a5bc95eb9] | 66 | X-Request-Id: [bb2227a6-534d-4044-8432-f0b2c8dbe022] |
69 | X-Runtime: ['0.073456'] | 67 | X-Runtime: ['0.094503'] |
70 | X-XSS-Protection: [1; mode=block] | 68 | X-XSS-Protection: [1; mode=block] |
71 | content-length: ['1799'] | 69 | content-length: ['1798'] |
72 | status: {code: 200, message: OK} | 70 | status: {code: 200, message: OK} |
73 | - request: | 71 | - request: |
74 | body: null | 72 | body: null |
@@ -80,13 +78,15 @@ interactions: | |||
80 | Content-Length: ['0'] | 78 | Content-Length: ['0'] |
81 | User-Agent: [python-requests/2.18.4] | 79 | User-Agent: [python-requests/2.18.4] |
82 | method: DELETE | 80 | method: DELETE |
83 | uri: http://localhost:3000/api/v1/statuses/101999522702622961 | 81 | uri: http://localhost:3000/api/v1/statuses/102315371935886180 |
84 | response: | 82 | response: |
85 | body: {string: '{}'} | 83 | body: {string: '{"id":"102315371935886180","created_at":"2019-06-22T13:04:38.253Z","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/102315371935886180","url":"http://localhost/@mastodonpy_test/102315371935886180","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"text":"#hoot |
84 | (hashtag toot)","reblog":null,"application":{"name":"Mastodon.py test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John | ||
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":[{"name":"hoot","url":"http://localhost/tags/hoot"}],"emojis":[],"card":null,"poll":null}'} | ||
86 | headers: | 87 | headers: |
87 | Cache-Control: ['max-age=0, private, must-revalidate'] | 88 | Cache-Control: ['no-cache, no-store'] |
88 | Content-Type: [application/json; charset=utf-8] | 89 | Content-Type: [application/json; charset=utf-8] |
89 | ETag: [W/"be921832e14075ea0cb81a21959eda6a"] | ||
90 | Referrer-Policy: [strict-origin-when-cross-origin] | 90 | Referrer-Policy: [strict-origin-when-cross-origin] |
91 | Transfer-Encoding: [chunked] | 91 | Transfer-Encoding: [chunked] |
92 | Vary: ['Accept-Encoding, Origin'] | 92 | Vary: ['Accept-Encoding, Origin'] |
@@ -94,9 +94,9 @@ interactions: | |||
94 | X-Download-Options: [noopen] | 94 | X-Download-Options: [noopen] |
95 | X-Frame-Options: [SAMEORIGIN] | 95 | X-Frame-Options: [SAMEORIGIN] |
96 | X-Permitted-Cross-Domain-Policies: [none] | 96 | X-Permitted-Cross-Domain-Policies: [none] |
97 | X-Request-Id: [95432ccb-726e-4ce8-95ee-1454d76f93dc] | 97 | X-Request-Id: [4d4b7592-f53d-4e01-806e-2b8108a2b260] |
98 | X-Runtime: ['0.023391'] | 98 | X-Runtime: ['0.082464'] |
99 | X-XSS-Protection: [1; mode=block] | 99 | X-XSS-Protection: [1; mode=block] |
100 | content-length: ['2'] | 100 | content-length: ['1632'] |
101 | status: {code: 200, message: OK} | 101 | status: {code: 200, message: OK} |
102 | version: 1 | 102 | version: 1 |