diff options
author | Lorenz Diener <[email protected]> | 2019-10-11 23:59:24 +0200 |
---|---|---|
committer | Lorenz Diener <[email protected]> | 2019-10-11 23:59:24 +0200 |
commit | 437f68c29a18303de3c75962021bbe030b2cf85c (patch) | |
tree | 83b7ba151a3e52163fd7048f82672394bcbb3865 /tests/cassettes/test_stream_user.yaml | |
parent | 2c2f55fd63e4096580f4d56279c261cedb1be1a9 (diff) | |
download | mastodon.py-437f68c29a18303de3c75962021bbe030b2cf85c.tar.gz |
Update tests for 3.0.1 and fix regressions
Diffstat (limited to 'tests/cassettes/test_stream_user.yaml')
-rw-r--r-- | tests/cassettes/test_stream_user.yaml | 82 |
1 files changed, 41 insertions, 41 deletions
diff --git a/tests/cassettes/test_stream_user.yaml b/tests/cassettes/test_stream_user.yaml index 7a008ad..3c06953 100644 --- a/tests/cassettes/test_stream_user.yaml +++ b/tests/cassettes/test_stream_user.yaml | |||
@@ -10,7 +10,7 @@ interactions: | |||
10 | method: GET | 10 | method: GET |
11 | uri: http://localhost:3000/api/v1/accounts/verify_credentials | 11 | uri: http://localhost:3000/api/v1/accounts/verify_credentials |
12 | response: | 12 | response: |
13 | body: {string: '{"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":17,"source":{"privacy":"public","sensitive":false,"language":null,"note":"","fields":[]},"emojis":[],"fields":[]}'} | 13 | body: {string: '{"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":28,"last_status_at":"2019-10-11T21:49:23.975Z","source":{"privacy":"public","sensitive":false,"language":null,"note":"","fields":[],"follow_requests_count":0},"emojis":[],"fields":[]}'} |
14 | headers: | 14 | headers: |
15 | Cache-Control: ['no-cache, no-store'] | 15 | Cache-Control: ['no-cache, no-store'] |
16 | Content-Type: [application/json; charset=utf-8] | 16 | Content-Type: [application/json; charset=utf-8] |
@@ -21,10 +21,10 @@ interactions: | |||
21 | X-Download-Options: [noopen] | 21 | X-Download-Options: [noopen] |
22 | X-Frame-Options: [SAMEORIGIN] | 22 | X-Frame-Options: [SAMEORIGIN] |
23 | X-Permitted-Cross-Domain-Policies: [none] | 23 | X-Permitted-Cross-Domain-Policies: [none] |
24 | X-Request-Id: [9eb1cca0-cf73-4441-b7cb-a392154fed9a] | 24 | X-Request-Id: [fce817d3-8e10-4c99-932b-6cf0a569fff8] |
25 | X-Runtime: ['0.031427'] | 25 | X-Runtime: ['0.025448'] |
26 | X-XSS-Protection: [1; mode=block] | 26 | X-XSS-Protection: [1; mode=block] |
27 | content-length: ['610'] | 27 | content-length: ['680'] |
28 | status: {code: 200, message: OK} | 28 | status: {code: 200, message: OK} |
29 | - request: | 29 | - request: |
30 | body: null | 30 | body: null |
@@ -49,8 +49,8 @@ interactions: | |||
49 | X-Download-Options: [noopen] | 49 | X-Download-Options: [noopen] |
50 | X-Frame-Options: [SAMEORIGIN] | 50 | X-Frame-Options: [SAMEORIGIN] |
51 | X-Permitted-Cross-Domain-Policies: [none] | 51 | X-Permitted-Cross-Domain-Policies: [none] |
52 | X-Request-Id: [25dd42a8-5bb4-4a75-92e7-7c1483f95022] | 52 | X-Request-Id: [61f0ea5c-7606-40c6-854b-cbc1cd05f735] |
53 | X-Runtime: ['0.031303'] | 53 | X-Runtime: ['0.026404'] |
54 | X-XSS-Protection: [1; mode=block] | 54 | X-XSS-Protection: [1; mode=block] |
55 | content-length: ['211'] | 55 | content-length: ['211'] |
56 | status: {code: 200, message: OK} | 56 | status: {code: 200, message: OK} |
@@ -65,12 +65,12 @@ interactions: | |||
65 | method: GET | 65 | method: GET |
66 | uri: http://localhost:3000/api/v1/instance/ | 66 | uri: http://localhost:3000/api/v1/instance/ |
67 | response: | 67 | response: |
68 | body: {string: '{"uri":"localhost","title":"Mastodon","description":"","email":"","version":"2.9.1","urls":{"streaming_api":"ws://localhost:4000"},"stats":{"user_count":3,"status_count":17,"domain_count":0},"thumbnail":"http://localhost/packs/media/images/preview-9a17d32fc48369e8ccd910a75260e67d.jpg","languages":["en"],"registrations":true,"contact_account":null}'} | 68 | body: {string: '{"uri":"localhost","title":"Mastodon","short_description":"","description":"","email":"","version":"3.0.1","urls":{"streaming_api":"ws://localhost:4000"},"stats":{"user_count":3,"status_count":29,"domain_count":0},"thumbnail":"http://localhost/packs/media/images/preview-9a17d32fc48369e8ccd910a75260e67d.jpg","languages":["en"],"registrations":true,"approval_required":false,"contact_account":null}'} |
69 | headers: | 69 | headers: |
70 | Cache-Control: ['max-age=300, public'] | 70 | Cache-Control: ['max-age=180, public'] |
71 | Content-Type: [application/json; charset=utf-8] | 71 | Content-Type: [application/json; charset=utf-8] |
72 | Date: ['Sat, 22 Jun 2019 21:13:21 GMT'] | 72 | Date: ['Fri, 11 Oct 2019 21:49:46 GMT'] |
73 | ETag: [W/"ced034dde6bfd4ec03650d35fb884f77"] | 73 | ETag: [W/"1e222f0ccdc65d45e3d495accf7232be"] |
74 | Referrer-Policy: [strict-origin-when-cross-origin] | 74 | Referrer-Policy: [strict-origin-when-cross-origin] |
75 | Transfer-Encoding: [chunked] | 75 | Transfer-Encoding: [chunked] |
76 | Vary: ['Accept-Encoding, Origin'] | 76 | Vary: ['Accept-Encoding, Origin'] |
@@ -78,10 +78,10 @@ interactions: | |||
78 | X-Download-Options: [noopen] | 78 | X-Download-Options: [noopen] |
79 | X-Frame-Options: [SAMEORIGIN] | 79 | X-Frame-Options: [SAMEORIGIN] |
80 | X-Permitted-Cross-Domain-Policies: [none] | 80 | X-Permitted-Cross-Domain-Policies: [none] |
81 | X-Request-Id: [938dbb81-f5d0-48a2-9fe8-e344ee0843c2] | 81 | X-Request-Id: [83f9c992-3d48-47f6-aed8-0334bebd7f97] |
82 | X-Runtime: ['0.031185'] | 82 | X-Runtime: ['0.059845'] |
83 | X-XSS-Protection: [1; mode=block] | 83 | X-XSS-Protection: [1; mode=block] |
84 | content-length: ['349'] | 84 | content-length: ['398'] |
85 | status: {code: 200, message: OK} | 85 | status: {code: 200, message: OK} |
86 | - request: | 86 | - request: |
87 | body: status=only+real+cars+respond. | 87 | body: status=only+real+cars+respond. |
@@ -96,9 +96,9 @@ interactions: | |||
96 | method: POST | 96 | method: POST |
97 | uri: http://localhost:3000/api/v1/statuses | 97 | uri: http://localhost:3000/api/v1/statuses |
98 | response: | 98 | response: |
99 | body: {string: '{"id":"102317293993043847","created_at":"2019-06-22T21:13:26.494Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost/users/mastodonpy_test/statuses/102317293993043847","url":"http://localhost/@mastodonpy_test/102317293993043847","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"content":"\u003cp\u003eonly | 99 | body: {string: '{"id":"102945953629637528","created_at":"2019-10-11T21:49:51.291Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost/users/mastodonpy_test/statuses/102945953629637528","url":"http://localhost/@mastodonpy_test/102945953629637528","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"content":"\u003cp\u003eonly |
100 | real cars respond.\u003c/p\u003e","reblog":null,"application":{"name":"Mastodon.py | 100 | real cars respond.\u003c/p\u003e","reblog":null,"application":{"name":"Mastodon.py |
101 | 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":1,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'} | 101 | 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-11T21:49:51.308Z","emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'} |
102 | headers: | 102 | headers: |
103 | Cache-Control: ['no-cache, no-store'] | 103 | Cache-Control: ['no-cache, no-store'] |
104 | Content-Type: [application/json; charset=utf-8] | 104 | Content-Type: [application/json; charset=utf-8] |
@@ -109,10 +109,10 @@ interactions: | |||
109 | X-Download-Options: [noopen] | 109 | X-Download-Options: [noopen] |
110 | X-Frame-Options: [SAMEORIGIN] | 110 | X-Frame-Options: [SAMEORIGIN] |
111 | X-Permitted-Cross-Domain-Policies: [none] | 111 | X-Permitted-Cross-Domain-Policies: [none] |
112 | X-Request-Id: [1cd08470-5731-4d93-be85-a4f804695c7c] | 112 | X-Request-Id: [1d3c8605-ee50-42db-b036-5efc10635dfc] |
113 | X-Runtime: ['0.158880'] | 113 | X-Runtime: ['0.153864'] |
114 | X-XSS-Protection: [1; mode=block] | 114 | X-XSS-Protection: [1; mode=block] |
115 | content-length: ['1254'] | 115 | content-length: ['1298'] |
116 | status: {code: 200, message: OK} | 116 | status: {code: 200, message: OK} |
117 | - request: | 117 | - request: |
118 | body: status=%40mastodonpy_test+beep+beep+I%27m+a+jeep | 118 | body: status=%40mastodonpy_test+beep+beep+I%27m+a+jeep |
@@ -127,11 +127,11 @@ interactions: | |||
127 | method: POST | 127 | method: POST |
128 | uri: http://localhost:3000/api/v1/statuses | 128 | uri: http://localhost:3000/api/v1/statuses |
129 | response: | 129 | response: |
130 | body: {string: '{"id":"102317294005876209","created_at":"2019-06-22T21:13:26.706Z","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/102317294005876209","url":"http://localhost/@admin/102317294005876209","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"content":"\u003cp\u003e\u003cspan | 130 | body: {string: '{"id":"102945953641974619","created_at":"2019-10-11T21:49:51.493Z","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/102945953641974619","url":"http://localhost/@admin/102945953641974619","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"content":"\u003cp\u003e\u003cspan |
131 | class=\"h-card\"\u003e\u003ca href=\"http://localhost/@mastodonpy_test\" class=\"u-url | 131 | class=\"h-card\"\u003e\u003ca href=\"http://localhost/@mastodonpy_test\" class=\"u-url |
132 | mention\"\u003e@\u003cspan\u003emastodonpy_test\u003c/span\u003e\u003c/a\u003e\u003c/span\u003e | 132 | mention\"\u003e@\u003cspan\u003emastodonpy_test\u003c/span\u003e\u003c/a\u003e\u003c/span\u003e |
133 | beep beep I\u0026apos;m a jeep\u003c/p\u003e","reblog":null,"application":{"name":"Mastodon.py | 133 | beep beep I\u0026apos;m a jeep\u003c/p\u003e","reblog":null,"application":{"name":"Mastodon.py |
134 | 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":18,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[{"id":"1234567890123456","username":"mastodonpy_test","url":"http://localhost/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[],"card":null,"poll":null}'} | 134 | 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":29,"last_status_at":"2019-10-11T21:49:51.508Z","emojis":[],"fields":[]},"media_attachments":[],"mentions":[{"id":"1234567890123456","username":"mastodonpy_test","url":"http://localhost/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[],"card":null,"poll":null}'} |
135 | headers: | 135 | headers: |
136 | Cache-Control: ['no-cache, no-store'] | 136 | Cache-Control: ['no-cache, no-store'] |
137 | Content-Type: [application/json; charset=utf-8] | 137 | Content-Type: [application/json; charset=utf-8] |
@@ -142,10 +142,10 @@ interactions: | |||
142 | X-Download-Options: [noopen] | 142 | X-Download-Options: [noopen] |
143 | X-Frame-Options: [SAMEORIGIN] | 143 | X-Frame-Options: [SAMEORIGIN] |
144 | X-Permitted-Cross-Domain-Policies: [none] | 144 | X-Permitted-Cross-Domain-Policies: [none] |
145 | X-Request-Id: [65efc860-e17d-4d65-9f8b-3ab855c01c19] | 145 | X-Request-Id: [d81fe61a-3f7d-4211-bd7c-266a694974b4] |
146 | X-Runtime: ['0.254556'] | 146 | X-Runtime: ['0.266044'] |
147 | X-XSS-Protection: [1; mode=block] | 147 | X-XSS-Protection: [1; mode=block] |
148 | content-length: ['1512'] | 148 | content-length: ['1556'] |
149 | status: {code: 200, message: OK} | 149 | status: {code: 200, message: OK} |
150 | - request: | 150 | - request: |
151 | body: status=on+the+internet%2C+nobody+knows+you%27re+a+plane | 151 | body: status=on+the+internet%2C+nobody+knows+you%27re+a+plane |
@@ -160,9 +160,9 @@ interactions: | |||
160 | method: POST | 160 | method: POST |
161 | uri: http://localhost:3000/api/v1/statuses | 161 | uri: http://localhost:3000/api/v1/statuses |
162 | response: | 162 | response: |
163 | body: {string: '{"id":"102317294022170445","created_at":"2019-06-22T21:13:26.942Z","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/102317294022170445","url":"http://localhost/@admin/102317294022170445","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"content":"\u003cp\u003eon | 163 | body: {string: '{"id":"102945953661125145","created_at":"2019-10-11T21:49:51.767Z","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/102945953661125145","url":"http://localhost/@admin/102945953661125145","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"content":"\u003cp\u003eon |
164 | the internet, nobody knows you\u0026apos;re a plane\u003c/p\u003e","reblog":null,"application":{"name":"Mastodon.py | 164 | the internet, nobody knows you\u0026apos;re a plane\u003c/p\u003e","reblog":null,"application":{"name":"Mastodon.py |
165 | 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":19,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'} | 165 | 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":null}'} |
166 | headers: | 166 | headers: |
167 | Cache-Control: ['no-cache, no-store'] | 167 | Cache-Control: ['no-cache, no-store'] |
168 | Content-Type: [application/json; charset=utf-8] | 168 | Content-Type: [application/json; charset=utf-8] |
@@ -173,10 +173,10 @@ interactions: | |||
173 | X-Download-Options: [noopen] | 173 | X-Download-Options: [noopen] |
174 | X-Frame-Options: [SAMEORIGIN] | 174 | X-Frame-Options: [SAMEORIGIN] |
175 | X-Permitted-Cross-Domain-Policies: [none] | 175 | X-Permitted-Cross-Domain-Policies: [none] |
176 | X-Request-Id: [4533d28a-a40e-4a1c-82d9-6d71daa25577] | 176 | X-Request-Id: [f65b77a8-9a58-4678-9434-0307fda2731b] |
177 | X-Runtime: ['0.200061'] | 177 | X-Runtime: ['0.224582'] |
178 | X-XSS-Protection: [1; mode=block] | 178 | X-XSS-Protection: [1; mode=block] |
179 | content-length: ['1221'] | 179 | content-length: ['1265'] |
180 | status: {code: 200, message: OK} | 180 | status: {code: 200, message: OK} |
181 | - request: | 181 | - request: |
182 | body: null | 182 | body: null |
@@ -188,11 +188,11 @@ interactions: | |||
188 | Content-Length: ['0'] | 188 | Content-Length: ['0'] |
189 | User-Agent: [python-requests/2.18.4] | 189 | User-Agent: [python-requests/2.18.4] |
190 | method: DELETE | 190 | method: DELETE |
191 | uri: http://localhost:3000/api/v1/statuses/102317293993043847 | 191 | uri: http://localhost:3000/api/v1/statuses/102945953629637528 |
192 | response: | 192 | response: |
193 | body: {string: '{"id":"102317293993043847","created_at":"2019-06-22T21:13:26.494Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost/users/mastodonpy_test/statuses/102317293993043847","url":"http://localhost/@mastodonpy_test/102317293993043847","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"text":"only | 193 | body: {string: '{"id":"102945953629637528","created_at":"2019-10-11T21:49:51.291Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost/users/mastodonpy_test/statuses/102945953629637528","url":"http://localhost/@mastodonpy_test/102945953629637528","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"text":"only |
194 | real cars respond.","reblog":null,"application":{"name":"Mastodon.py test | 194 | real cars respond.","reblog":null,"application":{"name":"Mastodon.py test |
195 | 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":1,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'} | 195 | 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-11T21:49:51.308Z","emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'} |
196 | headers: | 196 | headers: |
197 | Cache-Control: ['no-cache, no-store'] | 197 | Cache-Control: ['no-cache, no-store'] |
198 | Content-Type: [application/json; charset=utf-8] | 198 | Content-Type: [application/json; charset=utf-8] |
@@ -203,10 +203,10 @@ interactions: | |||
203 | X-Download-Options: [noopen] | 203 | X-Download-Options: [noopen] |
204 | X-Frame-Options: [SAMEORIGIN] | 204 | X-Frame-Options: [SAMEORIGIN] |
205 | X-Permitted-Cross-Domain-Policies: [none] | 205 | X-Permitted-Cross-Domain-Policies: [none] |
206 | X-Request-Id: [390c9acc-8035-48b7-848e-ddc75f4436a3] | 206 | X-Request-Id: [8d743ac4-6035-45b8-ba48-d2b7369c53d5] |
207 | X-Runtime: ['0.103153'] | 207 | X-Runtime: ['0.109645'] |
208 | X-XSS-Protection: [1; mode=block] | 208 | X-XSS-Protection: [1; mode=block] |
209 | content-length: ['1224'] | 209 | content-length: ['1268'] |
210 | status: {code: 200, message: OK} | 210 | status: {code: 200, message: OK} |
211 | - request: | 211 | - request: |
212 | body: null | 212 | body: null |
@@ -221,22 +221,22 @@ interactions: | |||
221 | response: | 221 | response: |
222 | body: {string: 'event: update | 222 | body: {string: 'event: update |
223 | 223 | ||
224 | data: {"id":"102317293993043847","created_at":"2019-06-22T21:13:26.494Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost/users/mastodonpy_test/statuses/102317293993043847","url":"http://localhost/@mastodonpy_test/102317293993043847","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"content":"<p>only | 224 | data: {"id":"102945953629637528","created_at":"2019-10-11T21:49:51.291Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost/users/mastodonpy_test/statuses/102945953629637528","url":"http://localhost/@mastodonpy_test/102945953629637528","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"content":"<p>only |
225 | real cars respond.</p>","reblog":null,"application":{"name":"Mastodon.py test | 225 | real cars respond.</p>","reblog":null,"application":{"name":"Mastodon.py test |
226 | 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":"<p></p>","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":1,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null} | 226 | 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":"<p></p>","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-11T21:49:51.308Z","emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null} |
227 | 227 | ||
228 | 228 | ||
229 | event: notification | 229 | event: notification |
230 | 230 | ||
231 | data: {"id":"115","type":"mention","created_at":"2019-06-22T21:13:26.829Z","account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2019-06-22T12:42:50.096Z","note":"<p></p>","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":18,"emojis":[],"fields":[]},"status":{"id":"102317294005876209","created_at":"2019-06-22T21:13:26.706Z","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/102317294005876209","url":"http://localhost/@admin/102317294005876209","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"content":"<p><span | 231 | data: {"id":"203","type":"mention","created_at":"2019-10-11T21:49:51.633Z","account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2019-06-22T12:42:50.096Z","note":"<p></p>","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":29,"last_status_at":"2019-10-11T21:49:51.508Z","emojis":[],"fields":[]},"status":{"id":"102945953641974619","created_at":"2019-10-11T21:49:51.493Z","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/102945953641974619","url":"http://localhost/@admin/102945953641974619","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"content":"<p><span |
232 | class=\"h-card\"><a href=\"http://localhost/@mastodonpy_test\" class=\"u-url | 232 | class=\"h-card\"><a href=\"http://localhost/@mastodonpy_test\" class=\"u-url |
233 | mention\">@<span>mastodonpy_test</span></a></span> beep beep I'm a jeep</p>","reblog":null,"application":{"name":"Mastodon.py | 233 | mention\">@<span>mastodonpy_test</span></a></span> beep beep I'm a jeep</p>","reblog":null,"application":{"name":"Mastodon.py |
234 | 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":"<p></p>","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":18,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[{"id":"1234567890123456","username":"mastodonpy_test","url":"http://localhost/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[],"card":null,"poll":null}} | 234 | 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":"<p></p>","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":29,"last_status_at":"2019-10-11T21:49:51.508Z","emojis":[],"fields":[]},"media_attachments":[],"mentions":[{"id":"1234567890123456","username":"mastodonpy_test","url":"http://localhost/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[],"card":null,"poll":null}} |
235 | 235 | ||
236 | 236 | ||
237 | event: delete | 237 | event: delete |
238 | 238 | ||
239 | data: 102317293993043847 | 239 | data: 102945953629637528 |
240 | 240 | ||
241 | 241 | ||
242 | :'} | 242 | :'} |
@@ -246,9 +246,9 @@ interactions: | |||
246 | Access-Control-Allow-Origin: ['*'] | 246 | Access-Control-Allow-Origin: ['*'] |
247 | Connection: [keep-alive] | 247 | Connection: [keep-alive] |
248 | Content-Type: [text/event-stream] | 248 | Content-Type: [text/event-stream] |
249 | Date: ['Sat, 22 Jun 2019 21:13:26 GMT'] | 249 | Date: ['Fri, 11 Oct 2019 21:49:51 GMT'] |
250 | Transfer-Encoding: [chunked] | 250 | Transfer-Encoding: [chunked] |
251 | X-Powered-By: [Express] | 251 | X-Powered-By: [Express] |
252 | X-Request-Id: [d2daae3f-79da-487f-a645-41de4ecbe420] | 252 | X-Request-Id: [9594125f-fa3a-49b7-acaf-311476a96147] |
253 | status: {code: 200, message: OK} | 253 | status: {code: 200, message: OK} |
254 | version: 1 | 254 | version: 1 |