aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorLorenz Diener <[email protected]>2019-04-28 01:52:09 +0200
committerLorenz Diener <[email protected]>2019-04-28 01:52:09 +0200
commit6f807daf5a06a10b747eeee8c4302ce2f0a74f96 (patch)
treeabddaeb2fd069111c26e2818fab30a280932aa5a /tests
parent0ffb869e6565c25bc1237379237e55ae24872b23 (diff)
downloadmastodon.py-6f807daf5a06a10b747eeee8c4302ce2f0a74f96.tar.gz
Breaking change: Stream functions now return immediately (Fixes #149)
Diffstat (limited to 'tests')
-rw-r--r--tests/cassettes/test_stream_user.yaml94
-rw-r--r--tests/cassettes/test_stream_user_local.yaml54
2 files changed, 70 insertions, 78 deletions
diff --git a/tests/cassettes/test_stream_user.yaml b/tests/cassettes/test_stream_user.yaml
index a94f406..f0a1ae4 100644
--- a/tests/cassettes/test_stream_user.yaml
+++ b/tests/cassettes/test_stream_user.yaml
@@ -10,11 +10,11 @@ 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-04-27T17:58:11.427Z","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":0,"following_count":0,"statuses_count":4,"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-04-27T18:52:42.626Z","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":0,"following_count":0,"statuses_count":8,"source":{"privacy":"public","sensitive":false,"language":null,"note":"","fields":[]},"emojis":[],"fields":[]}'}
14 headers: 14 headers:
15 Cache-Control: ['max-age=0, private, must-revalidate'] 15 Cache-Control: ['max-age=0, private, must-revalidate']
16 Content-Type: [application/json; charset=utf-8] 16 Content-Type: [application/json; charset=utf-8]
17 ETag: [W/"1eeedcf7d78b94ca6724689f4261e8be"] 17 ETag: [W/"cd2127b055679523c42093d9fa35eaf9"]
18 Referrer-Policy: [strict-origin-when-cross-origin] 18 Referrer-Policy: [strict-origin-when-cross-origin]
19 Transfer-Encoding: [chunked] 19 Transfer-Encoding: [chunked]
20 Vary: ['Accept-Encoding, Origin'] 20 Vary: ['Accept-Encoding, Origin']
@@ -22,8 +22,8 @@ interactions:
22 X-Download-Options: [noopen] 22 X-Download-Options: [noopen]
23 X-Frame-Options: [SAMEORIGIN] 23 X-Frame-Options: [SAMEORIGIN]
24 X-Permitted-Cross-Domain-Policies: [none] 24 X-Permitted-Cross-Domain-Policies: [none]
25 X-Request-Id: [5a5014a0-a99f-47b9-bac8-d6da55fc2b90] 25 X-Request-Id: [d33ae198-a4ca-4207-afb4-036e11d9033b]
26 X-Runtime: ['0.021655'] 26 X-Runtime: ['0.190787']
27 X-XSS-Protection: [1; mode=block] 27 X-XSS-Protection: [1; mode=block]
28 content-length: ['609'] 28 content-length: ['609']
29 status: {code: 200, message: OK} 29 status: {code: 200, message: OK}
@@ -43,7 +43,7 @@ interactions:
43 headers: 43 headers:
44 Cache-Control: ['max-age=0, private, must-revalidate'] 44 Cache-Control: ['max-age=0, private, must-revalidate']
45 Content-Type: [application/json; charset=utf-8] 45 Content-Type: [application/json; charset=utf-8]
46 ETag: [W/"11a1598090f5bf88f40c31bd3606dbef"] 46 ETag: [W/"c69d2321c40813c2e91746f6df8c685b"]
47 Referrer-Policy: [strict-origin-when-cross-origin] 47 Referrer-Policy: [strict-origin-when-cross-origin]
48 Transfer-Encoding: [chunked] 48 Transfer-Encoding: [chunked]
49 Vary: ['Accept-Encoding, Origin'] 49 Vary: ['Accept-Encoding, Origin']
@@ -51,8 +51,8 @@ interactions:
51 X-Download-Options: [noopen] 51 X-Download-Options: [noopen]
52 X-Frame-Options: [SAMEORIGIN] 52 X-Frame-Options: [SAMEORIGIN]
53 X-Permitted-Cross-Domain-Policies: [none] 53 X-Permitted-Cross-Domain-Policies: [none]
54 X-Request-Id: [e82a8459-b71e-4ad6-85f3-7a3ff66e12d5] 54 X-Request-Id: [559452ea-a4ca-49ce-a41c-9789a4e175d6]
55 X-Runtime: ['0.023404'] 55 X-Runtime: ['0.027095']
56 X-XSS-Protection: [1; mode=block] 56 X-XSS-Protection: [1; mode=block]
57 content-length: ['211'] 57 content-length: ['211']
58 status: {code: 200, message: OK} 58 status: {code: 200, message: OK}
@@ -67,12 +67,12 @@ interactions:
67 method: GET 67 method: GET
68 uri: http://localhost:3000/api/v1/instance/ 68 uri: http://localhost:3000/api/v1/instance/
69 response: 69 response:
70 body: {string: '{"uri":"localhost","title":"Mastodon","description":"","email":"","version":"2.8.0","urls":{"streaming_api":"ws://localhost:4000"},"stats":{"user_count":2,"status_count":66,"domain_count":0},"thumbnail":"http://localhost/packs/media/images/preview-9a17d32fc48369e8ccd910a75260e67d.jpg","languages":["en"],"registrations":true,"contact_account":null}'} 70 body: {string: '{"uri":"localhost","title":"Mastodon","description":"","email":"","version":"2.8.0","urls":{"streaming_api":"ws://localhost:4000"},"stats":{"user_count":2,"status_count":10,"domain_count":0},"thumbnail":"http://localhost/packs/media/images/preview-9a17d32fc48369e8ccd910a75260e67d.jpg","languages":["en"],"registrations":true,"contact_account":null}'}
71 headers: 71 headers:
72 Cache-Control: ['max-age=300, public'] 72 Cache-Control: ['max-age=300, public']
73 Content-Type: [application/json; charset=utf-8] 73 Content-Type: [application/json; charset=utf-8]
74 Date: ['Sat, 27 Apr 2019 18:18:46 GMT'] 74 Date: ['Sat, 27 Apr 2019 23:51:08 GMT']
75 ETag: [W/"d335ec7c575ba1754000860090deaab6"] 75 ETag: [W/"1853e19f93744ec050047787c0defeb4"]
76 Referrer-Policy: [strict-origin-when-cross-origin] 76 Referrer-Policy: [strict-origin-when-cross-origin]
77 Transfer-Encoding: [chunked] 77 Transfer-Encoding: [chunked]
78 Vary: ['Accept-Encoding, Origin'] 78 Vary: ['Accept-Encoding, Origin']
@@ -80,8 +80,8 @@ interactions:
80 X-Download-Options: [noopen] 80 X-Download-Options: [noopen]
81 X-Frame-Options: [SAMEORIGIN] 81 X-Frame-Options: [SAMEORIGIN]
82 X-Permitted-Cross-Domain-Policies: [none] 82 X-Permitted-Cross-Domain-Policies: [none]
83 X-Request-Id: [de676fbf-ea1f-48ce-9646-f86d92162a8b] 83 X-Request-Id: [15378378-5d7a-4d03-aef0-2da0d7523ab3]
84 X-Runtime: ['0.046948'] 84 X-Runtime: ['0.038039']
85 X-XSS-Protection: [1; mode=block] 85 X-XSS-Protection: [1; mode=block]
86 content-length: ['349'] 86 content-length: ['349']
87 status: {code: 200, message: OK} 87 status: {code: 200, message: OK}
@@ -98,15 +98,13 @@ interactions:
98 method: POST 98 method: POST
99 uri: http://localhost:3000/api/v1/statuses 99 uri: http://localhost:3000/api/v1/statuses
100 response: 100 response:
101 body: {string: '{"id":"101999518125980927","created_at":"2019-04-27T18:18:51.589Z","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/101999518125980927","content":"\u003cp\u003eonly 101 body: {string: '{"id":"102000825046689277","created_at":"2019-04-27T23:51:13.758Z","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/102000825046689277","content":"\u003cp\u003eonly
102 real cars respond.\u003c/p\u003e","url":"http://localhost/@mastodonpy_test/101999518125980927","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py 102 real cars respond.\u003c/p\u003e","url":"http://localhost/@mastodonpy_test/102000825046689277","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py
103 test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John 103 test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"","locked":true,"bot":false,"created_at":"2019-04-27T20:56:20.155Z","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,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'}
104 Lennon","locked":true,"bot":false,"created_at":"2019-04-27T20:03:12.393Z","note":"\u003cp\u003eI
105 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":63,"emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'}
106 headers: 104 headers:
107 Cache-Control: ['max-age=0, private, must-revalidate'] 105 Cache-Control: ['max-age=0, private, must-revalidate']
108 Content-Type: [application/json; charset=utf-8] 106 Content-Type: [application/json; charset=utf-8]
109 ETag: [W/"389a02cefbfab01ed906d5eced810cfb"] 107 ETag: [W/"6a5a7e8c76cf1f6e542c7fa3d0b324e6"]
110 Referrer-Policy: [strict-origin-when-cross-origin] 108 Referrer-Policy: [strict-origin-when-cross-origin]
111 Transfer-Encoding: [chunked] 109 Transfer-Encoding: [chunked]
112 Vary: ['Accept-Encoding, Origin'] 110 Vary: ['Accept-Encoding, Origin']
@@ -114,10 +112,10 @@ interactions:
114 X-Download-Options: [noopen] 112 X-Download-Options: [noopen]
115 X-Frame-Options: [SAMEORIGIN] 113 X-Frame-Options: [SAMEORIGIN]
116 X-Permitted-Cross-Domain-Policies: [none] 114 X-Permitted-Cross-Domain-Policies: [none]
117 X-Request-Id: [e8077894-efd5-4970-91eb-902d0af25a86] 115 X-Request-Id: [f07f61fc-8265-4d61-8c98-84e0388f31c0]
118 X-Runtime: ['0.410379'] 116 X-Runtime: ['0.541242']
119 X-XSS-Protection: [1; mode=block] 117 X-XSS-Protection: [1; mode=block]
120 content-length: ['1616'] 118 content-length: ['1253']
121 status: {code: 200, message: OK} 119 status: {code: 200, message: OK}
122- request: 120- request:
123 body: status=%40mastodonpy_test+beep+beep+I%27m+a+jeep 121 body: status=%40mastodonpy_test+beep+beep+I%27m+a+jeep
@@ -132,15 +130,15 @@ interactions:
132 method: POST 130 method: POST
133 uri: http://localhost:3000/api/v1/statuses 131 uri: http://localhost:3000/api/v1/statuses
134 response: 132 response:
135 body: {string: '{"id":"101999518153289143","created_at":"2019-04-27T18:18:52.027Z","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/101999518153289143","content":"\u003cp\u003e\u003cspan 133 body: {string: '{"id":"102000825079136326","created_at":"2019-04-27T23:51:14.093Z","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/102000825079136326","content":"\u003cp\u003e\u003cspan
136 class=\"h-card\"\u003e\u003ca href=\"http://localhost/@mastodonpy_test\" class=\"u-url 134 class=\"h-card\"\u003e\u003ca href=\"http://localhost/@mastodonpy_test\" class=\"u-url
137 mention\"\u003e@\u003cspan\u003emastodonpy_test\u003c/span\u003e\u003c/a\u003e\u003c/span\u003e 135 mention\"\u003e@\u003cspan\u003emastodonpy_test\u003c/span\u003e\u003c/a\u003e\u003c/span\u003e
138 beep beep I\u0026apos;m a jeep\u003c/p\u003e","url":"http://localhost/@admin/101999518153289143","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py 136 beep beep I\u0026apos;m a jeep\u003c/p\u003e","url":"http://localhost/@admin/102000825079136326","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py
139 test suite","website":null},"account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2019-04-27T17:58:11.427Z","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":0,"following_count":0,"statuses_count":5,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[{"id":"1234567890123456","username":"mastodonpy_test","url":"http://localhost/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[],"card":null,"poll":null}'} 137 test suite","website":null},"account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2019-04-27T18:52:42.626Z","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":0,"following_count":0,"statuses_count":9,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[{"id":"1234567890123456","username":"mastodonpy_test","url":"http://localhost/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[],"card":null,"poll":null}'}
140 headers: 138 headers:
141 Cache-Control: ['max-age=0, private, must-revalidate'] 139 Cache-Control: ['max-age=0, private, must-revalidate']
142 Content-Type: [application/json; charset=utf-8] 140 Content-Type: [application/json; charset=utf-8]
143 ETag: [W/"c83781decbfc6a65c1e323598aab069a"] 141 ETag: [W/"2ccbe7c603db538a9b9d94ff8174016d"]
144 Referrer-Policy: [strict-origin-when-cross-origin] 142 Referrer-Policy: [strict-origin-when-cross-origin]
145 Transfer-Encoding: [chunked] 143 Transfer-Encoding: [chunked]
146 Vary: ['Accept-Encoding, Origin'] 144 Vary: ['Accept-Encoding, Origin']
@@ -148,8 +146,8 @@ interactions:
148 X-Download-Options: [noopen] 146 X-Download-Options: [noopen]
149 X-Frame-Options: [SAMEORIGIN] 147 X-Frame-Options: [SAMEORIGIN]
150 X-Permitted-Cross-Domain-Policies: [none] 148 X-Permitted-Cross-Domain-Policies: [none]
151 X-Request-Id: [56d08555-33d7-40f1-8f3c-aa5e737a2efe] 149 X-Request-Id: [13c205c2-e5bc-4469-b6a0-a7dc18dd5f11]
152 X-Runtime: ['0.461534'] 150 X-Runtime: ['0.213550']
153 X-XSS-Protection: [1; mode=block] 151 X-XSS-Protection: [1; mode=block]
154 content-length: ['1511'] 152 content-length: ['1511']
155 status: {code: 200, message: OK} 153 status: {code: 200, message: OK}
@@ -166,13 +164,13 @@ interactions:
166 method: POST 164 method: POST
167 uri: http://localhost:3000/api/v1/statuses 165 uri: http://localhost:3000/api/v1/statuses
168 response: 166 response:
169 body: {string: '{"id":"101999518193602263","created_at":"2019-04-27T18:18:52.634Z","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/101999518193602263","content":"\u003cp\u003eon 167 body: {string: '{"id":"102000825095837749","created_at":"2019-04-27T23:51:14.349Z","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/102000825095837749","content":"\u003cp\u003eon
170 the internet, nobody knows you\u0026apos;re a plane\u003c/p\u003e","url":"http://localhost/@admin/101999518193602263","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py 168 the internet, nobody knows you\u0026apos;re a plane\u003c/p\u003e","url":"http://localhost/@admin/102000825095837749","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py
171 test suite","website":null},"account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2019-04-27T17:58:11.427Z","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":0,"following_count":0,"statuses_count":6,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'} 169 test suite","website":null},"account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2019-04-27T18:52:42.626Z","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":0,"following_count":0,"statuses_count":10,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'}
172 headers: 170 headers:
173 Cache-Control: ['max-age=0, private, must-revalidate'] 171 Cache-Control: ['max-age=0, private, must-revalidate']
174 Content-Type: [application/json; charset=utf-8] 172 Content-Type: [application/json; charset=utf-8]
175 ETag: [W/"f56ee957e06ac66528b5a235a0c83d4c"] 173 ETag: [W/"c2ab6b89316efb69005c230c72accb6b"]
176 Referrer-Policy: [strict-origin-when-cross-origin] 174 Referrer-Policy: [strict-origin-when-cross-origin]
177 Transfer-Encoding: [chunked] 175 Transfer-Encoding: [chunked]
178 Vary: ['Accept-Encoding, Origin'] 176 Vary: ['Accept-Encoding, Origin']
@@ -180,10 +178,10 @@ interactions:
180 X-Download-Options: [noopen] 178 X-Download-Options: [noopen]
181 X-Frame-Options: [SAMEORIGIN] 179 X-Frame-Options: [SAMEORIGIN]
182 X-Permitted-Cross-Domain-Policies: [none] 180 X-Permitted-Cross-Domain-Policies: [none]
183 X-Request-Id: [eeb9bca6-952a-4e5f-b124-68eb57cbd9c2] 181 X-Request-Id: [48b902b9-9cb6-422d-a3f1-ea014a8cd6e7]
184 X-Runtime: ['0.410981'] 182 X-Runtime: ['0.165465']
185 X-XSS-Protection: [1; mode=block] 183 X-XSS-Protection: [1; mode=block]
186 content-length: ['1220'] 184 content-length: ['1221']
187 status: {code: 200, message: OK} 185 status: {code: 200, message: OK}
188- request: 186- request:
189 body: null 187 body: null
@@ -195,13 +193,13 @@ interactions:
195 Content-Length: ['0'] 193 Content-Length: ['0']
196 User-Agent: [python-requests/2.18.4] 194 User-Agent: [python-requests/2.18.4]
197 method: DELETE 195 method: DELETE
198 uri: http://localhost:3000/api/v1/statuses/101999518125980927 196 uri: http://localhost:3000/api/v1/statuses/102000825046689277
199 response: 197 response:
200 body: {string: '{}'} 198 body: {string: '{}'}
201 headers: 199 headers:
202 Cache-Control: ['max-age=0, private, must-revalidate'] 200 Cache-Control: ['max-age=0, private, must-revalidate']
203 Content-Type: [application/json; charset=utf-8] 201 Content-Type: [application/json; charset=utf-8]
204 ETag: [W/"0e17500f6fd394ef25f979c06f837df5"] 202 ETag: [W/"68dc9d53058fab55b922570e8d9416d8"]
205 Referrer-Policy: [strict-origin-when-cross-origin] 203 Referrer-Policy: [strict-origin-when-cross-origin]
206 Transfer-Encoding: [chunked] 204 Transfer-Encoding: [chunked]
207 Vary: ['Accept-Encoding, Origin'] 205 Vary: ['Accept-Encoding, Origin']
@@ -209,8 +207,8 @@ interactions:
209 X-Download-Options: [noopen] 207 X-Download-Options: [noopen]
210 X-Frame-Options: [SAMEORIGIN] 208 X-Frame-Options: [SAMEORIGIN]
211 X-Permitted-Cross-Domain-Policies: [none] 209 X-Permitted-Cross-Domain-Policies: [none]
212 X-Request-Id: [588349bf-94fa-4ce7-8e2b-85b6c48cdca8] 210 X-Request-Id: [1c002f40-b79d-40a4-8e64-e8e81bbde4a3]
213 X-Runtime: ['0.026396'] 211 X-Runtime: ['0.062087']
214 X-XSS-Protection: [1; mode=block] 212 X-XSS-Protection: [1; mode=block]
215 content-length: ['2'] 213 content-length: ['2']
216 status: {code: 200, message: OK} 214 status: {code: 200, message: OK}
@@ -227,24 +225,22 @@ interactions:
227 response: 225 response:
228 body: {string: 'event: update 226 body: {string: 'event: update
229 227
230 data: {"id":"101999518125980927","created_at":"2019-04-27T18:18:51.589Z","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/101999518125980927","content":"<p>only 228 data: {"id":"102000825046689277","created_at":"2019-04-27T23:51:13.758Z","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/102000825046689277","content":"<p>only
231 real cars respond.</p>","url":"http://localhost/@mastodonpy_test/101999518125980927","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py 229 real cars respond.</p>","url":"http://localhost/@mastodonpy_test/102000825046689277","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py
232 test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John 230 test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"","locked":true,"bot":false,"created_at":"2019-04-27T20:56:20.155Z","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":3,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}
233 Lennon","locked":true,"bot":false,"created_at":"2019-04-27T20:03:12.393Z","note":"<p>I
234 walk funny</p>","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":63,"emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}
235 231
236 232
237 event: notification 233 event: notification
238 234
239 data: {"id":"38","type":"mention","created_at":"2019-04-27T18:18:52.283Z","account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2019-04-27T17:58:11.427Z","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":0,"following_count":0,"statuses_count":5,"emojis":[],"fields":[]},"status":{"id":"101999518153289143","created_at":"2019-04-27T18:18:52.027Z","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/101999518153289143","content":"<p><span 235 data: {"id":"8","type":"mention","created_at":"2019-04-27T23:51:14.235Z","account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2019-04-27T18:52:42.626Z","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":0,"following_count":0,"statuses_count":9,"emojis":[],"fields":[]},"status":{"id":"102000825079136326","created_at":"2019-04-27T23:51:14.093Z","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/102000825079136326","content":"<p><span
240 class=\"h-card\"><a href=\"http://localhost/@mastodonpy_test\" class=\"u-url 236 class=\"h-card\"><a href=\"http://localhost/@mastodonpy_test\" class=\"u-url
241 mention\">@<span>mastodonpy_test</span></a></span> beep beep I&apos;m a jeep</p>","url":"http://localhost/@admin/101999518153289143","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"reblog":null,"application":{"name":"Mastodon.py 237 mention\">@<span>mastodonpy_test</span></a></span> beep beep I&apos;m a jeep</p>","url":"http://localhost/@admin/102000825079136326","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"reblog":null,"application":{"name":"Mastodon.py
242 test suite","website":null},"account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2019-04-27T17:58:11.427Z","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":0,"following_count":0,"statuses_count":5,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[{"id":"1234567890123456","username":"mastodonpy_test","url":"http://localhost/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[],"card":null,"poll":null}} 238 test suite","website":null},"account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2019-04-27T18:52:42.626Z","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":0,"following_count":0,"statuses_count":9,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[{"id":"1234567890123456","username":"mastodonpy_test","url":"http://localhost/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[],"card":null,"poll":null}}
243 239
244 240
245 event: delete 241 event: delete
246 242
247 data: 101999518125980927 243 data: 102000825046689277
248 244
249 245
250 :'} 246 :'}
@@ -254,9 +250,9 @@ interactions:
254 Access-Control-Allow-Origin: ['*'] 250 Access-Control-Allow-Origin: ['*']
255 Connection: [keep-alive] 251 Connection: [keep-alive]
256 Content-Type: [text/event-stream] 252 Content-Type: [text/event-stream]
257 Date: ['Sat, 27 Apr 2019 18:18:51 GMT'] 253 Date: ['Sat, 27 Apr 2019 23:51:14 GMT']
258 Transfer-Encoding: [chunked] 254 Transfer-Encoding: [chunked]
259 X-Powered-By: [Express] 255 X-Powered-By: [Express]
260 X-Request-Id: [8ac2ac89-1888-4733-97f6-22252010d097] 256 X-Request-Id: [b9afd71f-bd22-418a-82c9-b6b308aaf422]
261 status: {code: 200, message: OK} 257 status: {code: 200, message: OK}
262version: 1 258version: 1
diff --git a/tests/cassettes/test_stream_user_local.yaml b/tests/cassettes/test_stream_user_local.yaml
index 9d72a4d..22de8fb 100644
--- a/tests/cassettes/test_stream_user_local.yaml
+++ b/tests/cassettes/test_stream_user_local.yaml
@@ -10,11 +10,11 @@ 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-04-27T17:58:11.427Z","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":0,"following_count":0,"statuses_count":6,"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-04-27T18:52:42.626Z","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":0,"following_count":0,"statuses_count":10,"source":{"privacy":"public","sensitive":false,"language":null,"note":"","fields":[]},"emojis":[],"fields":[]}'}
14 headers: 14 headers:
15 Cache-Control: ['max-age=0, private, must-revalidate'] 15 Cache-Control: ['max-age=0, private, must-revalidate']
16 Content-Type: [application/json; charset=utf-8] 16 Content-Type: [application/json; charset=utf-8]
17 ETag: [W/"183e1b0f0d58dd3b410dd700a2727161"] 17 ETag: [W/"897cda4d35dcffc1a0e9dd29fc71130f"]
18 Referrer-Policy: [strict-origin-when-cross-origin] 18 Referrer-Policy: [strict-origin-when-cross-origin]
19 Transfer-Encoding: [chunked] 19 Transfer-Encoding: [chunked]
20 Vary: ['Accept-Encoding, Origin'] 20 Vary: ['Accept-Encoding, Origin']
@@ -22,10 +22,10 @@ interactions:
22 X-Download-Options: [noopen] 22 X-Download-Options: [noopen]
23 X-Frame-Options: [SAMEORIGIN] 23 X-Frame-Options: [SAMEORIGIN]
24 X-Permitted-Cross-Domain-Policies: [none] 24 X-Permitted-Cross-Domain-Policies: [none]
25 X-Request-Id: [c7ad422b-3b8f-4a21-a661-0c1c0778966d] 25 X-Request-Id: [9c808452-96f3-4dee-b8b4-5159a9686307]
26 X-Runtime: ['0.030147'] 26 X-Runtime: ['0.024396']
27 X-XSS-Protection: [1; mode=block] 27 X-XSS-Protection: [1; mode=block]
28 content-length: ['609'] 28 content-length: ['610']
29 status: {code: 200, message: OK} 29 status: {code: 200, message: OK}
30- request: 30- request:
31 body: null 31 body: null
@@ -43,7 +43,7 @@ interactions:
43 headers: 43 headers:
44 Cache-Control: ['max-age=0, private, must-revalidate'] 44 Cache-Control: ['max-age=0, private, must-revalidate']
45 Content-Type: [application/json; charset=utf-8] 45 Content-Type: [application/json; charset=utf-8]
46 ETag: [W/"41cf01fea278b3569d7c8d5a5c5782ec"] 46 ETag: [W/"2268b88a081c532f69d4e8f3f6cc1a41"]
47 Referrer-Policy: [strict-origin-when-cross-origin] 47 Referrer-Policy: [strict-origin-when-cross-origin]
48 Transfer-Encoding: [chunked] 48 Transfer-Encoding: [chunked]
49 Vary: ['Accept-Encoding, Origin'] 49 Vary: ['Accept-Encoding, Origin']
@@ -51,8 +51,8 @@ interactions:
51 X-Download-Options: [noopen] 51 X-Download-Options: [noopen]
52 X-Frame-Options: [SAMEORIGIN] 52 X-Frame-Options: [SAMEORIGIN]
53 X-Permitted-Cross-Domain-Policies: [none] 53 X-Permitted-Cross-Domain-Policies: [none]
54 X-Request-Id: [194e9c74-f1f7-489a-9cdc-dcc6cdb2872c] 54 X-Request-Id: [809c4964-6493-485a-8a47-5ffc3c0e6d5d]
55 X-Runtime: ['0.025540'] 55 X-Runtime: ['0.022342']
56 X-XSS-Protection: [1; mode=block] 56 X-XSS-Protection: [1; mode=block]
57 content-length: ['211'] 57 content-length: ['211']
58 status: {code: 200, message: OK} 58 status: {code: 200, message: OK}
@@ -67,12 +67,12 @@ interactions:
67 method: GET 67 method: GET
68 uri: http://localhost:3000/api/v1/instance/ 68 uri: http://localhost:3000/api/v1/instance/
69 response: 69 response:
70 body: {string: '{"uri":"localhost","title":"Mastodon","description":"","email":"","version":"2.8.0","urls":{"streaming_api":"ws://localhost:4000"},"stats":{"user_count":2,"status_count":68,"domain_count":0},"thumbnail":"http://localhost/packs/media/images/preview-9a17d32fc48369e8ccd910a75260e67d.jpg","languages":["en"],"registrations":true,"contact_account":null}'} 70 body: {string: '{"uri":"localhost","title":"Mastodon","description":"","email":"","version":"2.8.0","urls":{"streaming_api":"ws://localhost:4000"},"stats":{"user_count":2,"status_count":12,"domain_count":0},"thumbnail":"http://localhost/packs/media/images/preview-9a17d32fc48369e8ccd910a75260e67d.jpg","languages":["en"],"registrations":true,"contact_account":null}'}
71 headers: 71 headers:
72 Cache-Control: ['max-age=300, public'] 72 Cache-Control: ['max-age=300, public']
73 Content-Type: [application/json; charset=utf-8] 73 Content-Type: [application/json; charset=utf-8]
74 Date: ['Sat, 27 Apr 2019 18:19:24 GMT'] 74 Date: ['Sat, 27 Apr 2019 23:51:28 GMT']
75 ETag: [W/"ad3c648b6557460453c53744b0145a35"] 75 ETag: [W/"23dbf13c779b1cc02bec5079773083f5"]
76 Referrer-Policy: [strict-origin-when-cross-origin] 76 Referrer-Policy: [strict-origin-when-cross-origin]
77 Transfer-Encoding: [chunked] 77 Transfer-Encoding: [chunked]
78 Vary: ['Accept-Encoding, Origin'] 78 Vary: ['Accept-Encoding, Origin']
@@ -80,8 +80,8 @@ interactions:
80 X-Download-Options: [noopen] 80 X-Download-Options: [noopen]
81 X-Frame-Options: [SAMEORIGIN] 81 X-Frame-Options: [SAMEORIGIN]
82 X-Permitted-Cross-Domain-Policies: [none] 82 X-Permitted-Cross-Domain-Policies: [none]
83 X-Request-Id: [6171dbda-326f-42e2-8e40-10b8d18bbe74] 83 X-Request-Id: [b3f91b98-37e1-4689-b1d5-ca0915bc72c6]
84 X-Runtime: ['0.025239'] 84 X-Runtime: ['0.023238']
85 X-XSS-Protection: [1; mode=block] 85 X-XSS-Protection: [1; mode=block]
86 content-length: ['349'] 86 content-length: ['349']
87 status: {code: 200, message: OK} 87 status: {code: 200, message: OK}
@@ -98,15 +98,13 @@ interactions:
98 method: POST 98 method: POST
99 uri: http://localhost:3000/api/v1/statuses 99 uri: http://localhost:3000/api/v1/statuses
100 response: 100 response:
101 body: {string: '{"id":"101999520584397869","created_at":"2019-04-27T18:19:29.079Z","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/101999520584397869","content":"\u003cp\u003eit\u0026apos;s 101 body: {string: '{"id":"102000826367266958","created_at":"2019-04-27T23:51:33.747Z","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/102000826367266958","content":"\u003cp\u003eit\u0026apos;s
102 cool guy\u003c/p\u003e","url":"http://localhost/@mastodonpy_test/101999520584397869","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py 102 cool guy\u003c/p\u003e","url":"http://localhost/@mastodonpy_test/102000826367266958","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py
103 test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John 103 test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"","locked":true,"bot":false,"created_at":"2019-04-27T20:56:20.155Z","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,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'}
104 Lennon","locked":true,"bot":false,"created_at":"2019-04-27T20:03:12.393Z","note":"\u003cp\u003eI
105 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":63,"emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'}
106 headers: 104 headers:
107 Cache-Control: ['max-age=0, private, must-revalidate'] 105 Cache-Control: ['max-age=0, private, must-revalidate']
108 Content-Type: [application/json; charset=utf-8] 106 Content-Type: [application/json; charset=utf-8]
109 ETag: [W/"773142da1c08dd0b884a6c52bdd50256"] 107 ETag: [W/"31fb33fa6323ac79ab4d8a1caf4d1c40"]
110 Referrer-Policy: [strict-origin-when-cross-origin] 108 Referrer-Policy: [strict-origin-when-cross-origin]
111 Transfer-Encoding: [chunked] 109 Transfer-Encoding: [chunked]
112 Vary: ['Accept-Encoding, Origin'] 110 Vary: ['Accept-Encoding, Origin']
@@ -114,10 +112,10 @@ interactions:
114 X-Download-Options: [noopen] 112 X-Download-Options: [noopen]
115 X-Frame-Options: [SAMEORIGIN] 113 X-Frame-Options: [SAMEORIGIN]
116 X-Permitted-Cross-Domain-Policies: [none] 114 X-Permitted-Cross-Domain-Policies: [none]
117 X-Request-Id: [b74a2cfe-c18f-42d5-b966-dd8dabbcd286] 115 X-Request-Id: [0f41d973-d9b0-4e72-9f81-8c98d8ddfb40]
118 X-Runtime: ['0.149867'] 116 X-Runtime: ['0.158456']
119 X-XSS-Protection: [1; mode=block] 117 X-XSS-Protection: [1; mode=block]
120 content-length: ['1616'] 118 content-length: ['1253']
121 status: {code: 200, message: OK} 119 status: {code: 200, message: OK}
122- request: 120- request:
123 body: null 121 body: null
@@ -132,11 +130,9 @@ interactions:
132 response: 130 response:
133 body: {string: 'event: update 131 body: {string: 'event: update
134 132
135 data: {"id":"101999520584397869","created_at":"2019-04-27T18:19:29.079Z","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/101999520584397869","content":"<p>it&apos;s 133 data: {"id":"102000826367266958","created_at":"2019-04-27T23:51:33.747Z","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/102000826367266958","content":"<p>it&apos;s
136 cool guy</p>","url":"http://localhost/@mastodonpy_test/101999520584397869","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py 134 cool guy</p>","url":"http://localhost/@mastodonpy_test/102000826367266958","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py
137 test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John 135 test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"","locked":true,"bot":false,"created_at":"2019-04-27T20:56:20.155Z","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":3,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}
138 Lennon","locked":true,"bot":false,"created_at":"2019-04-27T20:03:12.393Z","note":"<p>I
139 walk funny</p>","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":63,"emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}
140 136
141 137
142 :'} 138 :'}
@@ -146,9 +142,9 @@ interactions:
146 Access-Control-Allow-Origin: ['*'] 142 Access-Control-Allow-Origin: ['*']
147 Connection: [keep-alive] 143 Connection: [keep-alive]
148 Content-Type: [text/event-stream] 144 Content-Type: [text/event-stream]
149 Date: ['Sat, 27 Apr 2019 18:19:29 GMT'] 145 Date: ['Sat, 27 Apr 2019 23:51:33 GMT']
150 Transfer-Encoding: [chunked] 146 Transfer-Encoding: [chunked]
151 X-Powered-By: [Express] 147 X-Powered-By: [Express]
152 X-Request-Id: [1545b4dd-c428-4904-8db3-b5f4af9908c3] 148 X-Request-Id: [d39b3ece-b7de-459d-8cea-f55d018ce010]
153 status: {code: 200, message: OK} 149 status: {code: 200, message: OK}
154version: 1 150version: 1
Powered by cgit v1.2.3 (git 2.41.0)