diff options
Diffstat (limited to 'tests/cassettes/test_hashtag_tl.yaml')
-rw-r--r-- | tests/cassettes/test_hashtag_tl.yaml | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/tests/cassettes/test_hashtag_tl.yaml b/tests/cassettes/test_hashtag_tl.yaml index 4241ad0..3207eaf 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":"100369579629928791","created_at":"2018-07-13T21:44:03.929Z","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/100369579629928791","content":"\u003cp\u003e\u003ca | 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 |
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:3000/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/100369579629928791","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:3000/@mastodonpy_test/100465737557045240","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":"2018-07-13T23:02:25.260Z","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":62,"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: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":[]}'} |
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/"9153989a4669e730082778a9cbbc016b"] | 24 | ETag: [W/"1bfc970efd4da1a5087e9ed53172ff7c"] |
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: [1dd33ce8-0821-43c9-a20f-03dd0ba1971f] | 32 | X-Request-Id: [055d0780-7279-4d5c-a8a2-57aca4c7870f] |
33 | X-Runtime: ['0.271059'] | 33 | X-Runtime: ['0.321652'] |
34 | X-XSS-Protection: [1; mode=block] | 34 | X-XSS-Protection: [1; mode=block] |
35 | content-length: ['1718'] | 35 | content-length: ['1719'] |
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":"100369579629928791","created_at":"2018-07-13T21:44:03.929Z","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/100369579629928791","content":"\u003cp\u003e\u003ca | 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 |
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:3000/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/100369579629928791","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:3000/@mastodonpy_test/100465737557045240","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":"2018-07-13T23:02:25.260Z","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":62,"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: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":[]}]'} |
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/"c07af82e9e4ddd311e50d6751bcf22b3"] | 57 | ETag: [W/"aa112bcfbbcbd8f7a8e83a15b296d7c4"] |
58 | Link: ['<http://localhost:3000/api/v1/timelines/tag/hoot?max_id=100369579629928791>; | 58 | Link: ['<http://localhost:3000/api/v1/timelines/tag/hoot?max_id=100465737557045240>; |
59 | rel="next", <http://localhost:3000/api/v1/timelines/tag/hoot?since_id=100369579629928791>; | 59 | rel="next", <http://localhost:3000/api/v1/timelines/tag/hoot?since_id=100465737557045240>; |
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: [412238f4-f411-41b3-8954-9d6d803d4d65] | 68 | X-Request-Id: [04f1624b-2427-40b1-931a-2079377753f8] |
69 | X-Runtime: ['0.113536'] | 69 | X-Runtime: ['0.123568'] |
70 | X-XSS-Protection: [1; mode=block] | 70 | X-XSS-Protection: [1; mode=block] |
71 | content-length: ['1720'] | 71 | content-length: ['1721'] |
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/100369579629928791 | 83 | uri: http://localhost:3000/api/v1/statuses/100465737557045240 |
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/"ad0b62fef33943747060d9c963d326ca"] | 89 | ETag: [W/"8f2e037c81b211b067cf580ca7774a1a"] |
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: [921926bd-7038-4404-86e6-a27dc6f3b884] | 97 | X-Request-Id: [9e76a351-17c3-4a0b-b0d1-8d6bfafc9900] |
98 | X-Runtime: ['0.053794'] | 98 | X-Runtime: ['0.038190'] |
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} |