diff options
Diffstat (limited to 'tests/cassettes/test_hashtag_tl.yaml')
-rw-r--r-- | tests/cassettes/test_hashtag_tl.yaml | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/tests/cassettes/test_hashtag_tl.yaml b/tests/cassettes/test_hashtag_tl.yaml index 3207eaf..dad2011 100644 --- a/tests/cassettes/test_hashtag_tl.yaml +++ b/tests/cassettes/test_hashtag_tl.yaml | |||
@@ -12,16 +12,16 @@ 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":"100465737557045240","created_at":"2018-07-30T21:18:17.429Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"mi","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100465737557045240","content":"\u003cp\u003e\u003ca | 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 |
16 | href=\"http://localhost:3000/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:3000/@mastodonpy_test/100465737557045240","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","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 |
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":"2018-07-13T23:02:25.260Z","note":"\u003cp\u003eI | 19 | Lennon","locked":true,"bot":false,"created_at":"2019-04-27T20:03:12.393Z","note":"\u003cp\u003eI |
20 | walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":0,"statuses_count":116,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[{"name":"hoot","url":"http://localhost:3000/tags/hoot"}],"emojis":[]}'} | 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}'} |
21 | headers: | 21 | headers: |
22 | Cache-Control: ['max-age=0, private, must-revalidate'] | 22 | Cache-Control: ['max-age=0, private, must-revalidate'] |
23 | Content-Type: [application/json; charset=utf-8] | 23 | Content-Type: [application/json; charset=utf-8] |
24 | ETag: [W/"1bfc970efd4da1a5087e9ed53172ff7c"] | 24 | ETag: [W/"3c739053e64fe14c6c22e5bbc83eecce"] |
25 | Referrer-Policy: [strict-origin-when-cross-origin] | 25 | Referrer-Policy: [strict-origin-when-cross-origin] |
26 | Transfer-Encoding: [chunked] | 26 | Transfer-Encoding: [chunked] |
27 | Vary: ['Accept-Encoding, Origin'] | 27 | Vary: ['Accept-Encoding, Origin'] |
@@ -29,10 +29,10 @@ interactions: | |||
29 | X-Download-Options: [noopen] | 29 | X-Download-Options: [noopen] |
30 | X-Frame-Options: [SAMEORIGIN] | 30 | X-Frame-Options: [SAMEORIGIN] |
31 | X-Permitted-Cross-Domain-Policies: [none] | 31 | X-Permitted-Cross-Domain-Policies: [none] |
32 | X-Request-Id: [055d0780-7279-4d5c-a8a2-57aca4c7870f] | 32 | X-Request-Id: [1c9a6ae3-9c75-468c-916e-86da9e1b6031] |
33 | X-Runtime: ['0.321652'] | 33 | X-Runtime: ['0.265843'] |
34 | X-XSS-Protection: [1; mode=block] | 34 | X-XSS-Protection: [1; mode=block] |
35 | content-length: ['1719'] | 35 | content-length: ['1797'] |
36 | status: {code: 200, message: OK} | 36 | status: {code: 200, message: OK} |
37 | - request: | 37 | - request: |
38 | body: null | 38 | body: null |
@@ -45,18 +45,18 @@ interactions: | |||
45 | method: GET | 45 | method: GET |
46 | uri: http://localhost:3000/api/v1/timelines/tag/hoot | 46 | uri: http://localhost:3000/api/v1/timelines/tag/hoot |
47 | response: | 47 | response: |
48 | body: {string: '[{"id":"100465737557045240","created_at":"2018-07-30T21:18:17.429Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"mi","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100465737557045240","content":"\u003cp\u003e\u003ca | 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 |
49 | href=\"http://localhost:3000/tags/hoot\" class=\"mention hashtag\" rel=\"tag\"\u003e#\u003cspan\u003ehoot\u003c/span\u003e\u003c/a\u003e | 49 | 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:3000/@mastodonpy_test/100465737557045240","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py | 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 |
51 | test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John | 51 | test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John |
52 | Lennon","locked":true,"bot":false,"created_at":"2018-07-13T23:02:25.260Z","note":"\u003cp\u003eI | 52 | Lennon","locked":true,"bot":false,"created_at":"2019-04-27T20:03:12.393Z","note":"\u003cp\u003eI |
53 | walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":0,"statuses_count":116,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[{"name":"hoot","url":"http://localhost:3000/tags/hoot"}],"emojis":[]}]'} | 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}]'} |
54 | headers: | 54 | headers: |
55 | Cache-Control: ['max-age=0, private, must-revalidate'] | 55 | Cache-Control: ['max-age=0, private, must-revalidate'] |
56 | Content-Type: [application/json; charset=utf-8] | 56 | Content-Type: [application/json; charset=utf-8] |
57 | ETag: [W/"aa112bcfbbcbd8f7a8e83a15b296d7c4"] | 57 | ETag: [W/"07c64e813b0a627a237eaa3791f92e8f"] |
58 | Link: ['<http://localhost:3000/api/v1/timelines/tag/hoot?max_id=100465737557045240>; | 58 | Link: ['<http://localhost:3000/api/v1/timelines/tag/hoot?max_id=101999522702622961>; |
59 | rel="next", <http://localhost:3000/api/v1/timelines/tag/hoot?since_id=100465737557045240>; | 59 | rel="next", <http://localhost:3000/api/v1/timelines/tag/hoot?min_id=101999522702622961>; |
60 | rel="prev"'] | 60 | rel="prev"'] |
61 | Referrer-Policy: [strict-origin-when-cross-origin] | 61 | Referrer-Policy: [strict-origin-when-cross-origin] |
62 | Transfer-Encoding: [chunked] | 62 | Transfer-Encoding: [chunked] |
@@ -65,10 +65,10 @@ interactions: | |||
65 | X-Download-Options: [noopen] | 65 | X-Download-Options: [noopen] |
66 | X-Frame-Options: [SAMEORIGIN] | 66 | X-Frame-Options: [SAMEORIGIN] |
67 | X-Permitted-Cross-Domain-Policies: [none] | 67 | X-Permitted-Cross-Domain-Policies: [none] |
68 | X-Request-Id: [04f1624b-2427-40b1-931a-2079377753f8] | 68 | X-Request-Id: [8221b0a7-145c-4136-99be-d14a5bc95eb9] |
69 | X-Runtime: ['0.123568'] | 69 | X-Runtime: ['0.073456'] |
70 | X-XSS-Protection: [1; mode=block] | 70 | X-XSS-Protection: [1; mode=block] |
71 | content-length: ['1721'] | 71 | content-length: ['1799'] |
72 | status: {code: 200, message: OK} | 72 | status: {code: 200, message: OK} |
73 | - request: | 73 | - request: |
74 | body: null | 74 | body: null |
@@ -80,13 +80,13 @@ interactions: | |||
80 | Content-Length: ['0'] | 80 | Content-Length: ['0'] |
81 | User-Agent: [python-requests/2.18.4] | 81 | User-Agent: [python-requests/2.18.4] |
82 | method: DELETE | 82 | method: DELETE |
83 | uri: http://localhost:3000/api/v1/statuses/100465737557045240 | 83 | uri: http://localhost:3000/api/v1/statuses/101999522702622961 |
84 | response: | 84 | response: |
85 | body: {string: '{}'} | 85 | body: {string: '{}'} |
86 | headers: | 86 | headers: |
87 | Cache-Control: ['max-age=0, private, must-revalidate'] | 87 | Cache-Control: ['max-age=0, private, must-revalidate'] |
88 | Content-Type: [application/json; charset=utf-8] | 88 | Content-Type: [application/json; charset=utf-8] |
89 | ETag: [W/"8f2e037c81b211b067cf580ca7774a1a"] | 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,8 +94,8 @@ 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: [9e76a351-17c3-4a0b-b0d1-8d6bfafc9900] | 97 | X-Request-Id: [95432ccb-726e-4ce8-95ee-1454d76f93dc] |
98 | X-Runtime: ['0.038190'] | 98 | X-Runtime: ['0.023391'] |
99 | X-XSS-Protection: [1; mode=block] | 99 | X-XSS-Protection: [1; mode=block] |
100 | content-length: ['2'] | 100 | content-length: ['2'] |
101 | status: {code: 200, message: OK} | 101 | status: {code: 200, message: OK} |