diff options
Diffstat (limited to 'tests/cassettes/test_stream_user.yaml')
-rw-r--r-- | tests/cassettes/test_stream_user.yaml | 116 |
1 files changed, 58 insertions, 58 deletions
diff --git a/tests/cassettes/test_stream_user.yaml b/tests/cassettes/test_stream_user.yaml index cb54261..5bb4b8c 100644 --- a/tests/cassettes/test_stream_user.yaml +++ b/tests/cassettes/test_stream_user.yaml | |||
@@ -6,15 +6,15 @@ interactions: | |||
6 | Accept-Encoding: ['gzip, deflate'] | 6 | Accept-Encoding: ['gzip, deflate'] |
7 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN_2] | 7 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN_2] |
8 | Connection: [keep-alive] | 8 | Connection: [keep-alive] |
9 | User-Agent: [python-requests/2.9.1] | 9 | User-Agent: [python-requests/2.18.4] |
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":"2018-06-05T19:58:37.960Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost:3000/@admin","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":3,"source":{"privacy":"public","sensitive":false,"note":"","fields":[]},"emojis":[],"fields":[]}'} | 13 | body: {string: '{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2018-07-13T19:35:33.303Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost:3000/@admin","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":65,"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/"204a2e8283fa1962886a66d475d220ff"] | 17 | ETag: [W/"c9824ab0f8c483af76c13e3237e95118"] |
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: [5c57d965-1012-4f7c-9103-5a9d8a6db137] | 25 | X-Request-Id: [30ab4e9c-ba31-44cd-860c-01b6087e90a7] |
26 | X-Runtime: ['0.023718'] | 26 | X-Runtime: ['0.034581'] |
27 | X-XSS-Protection: [1; mode=block] | 27 | X-XSS-Protection: [1; mode=block] |
28 | content-length: ['618'] | 28 | content-length: ['635'] |
29 | status: {code: 200, message: OK} | 29 | status: {code: 200, message: OK} |
30 | - request: | 30 | - request: |
31 | body: null | 31 | body: null |
@@ -35,7 +35,7 @@ interactions: | |||
35 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN_2] | 35 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN_2] |
36 | Connection: [keep-alive] | 36 | Connection: [keep-alive] |
37 | Content-Length: ['0'] | 37 | Content-Length: ['0'] |
38 | User-Agent: [python-requests/2.9.1] | 38 | User-Agent: [python-requests/2.18.4] |
39 | method: POST | 39 | method: POST |
40 | uri: http://localhost:3000/api/v1/accounts/1/unfollow | 40 | uri: http://localhost:3000/api/v1/accounts/1/unfollow |
41 | response: | 41 | response: |
@@ -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/"8440eacfb5d8b9404abc7b3da0a0f488"] | 46 | ETag: [W/"9bfab29b3aa866b9270d50f96b3f037d"] |
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: [f9a2269c-2a90-4cd7-b184-31d0cd5f6a4a] | 54 | X-Request-Id: [c46c5ce2-f536-4f82-a8a0-b4db7131c733] |
55 | X-Runtime: ['0.033259'] | 55 | X-Runtime: ['0.043217'] |
56 | X-XSS-Protection: [1; mode=block] | 56 | X-XSS-Protection: [1; mode=block] |
57 | content-length: ['175'] | 57 | content-length: ['175'] |
58 | status: {code: 200, message: OK} | 58 | status: {code: 200, message: OK} |
@@ -63,15 +63,15 @@ interactions: | |||
63 | Accept-Encoding: ['gzip, deflate'] | 63 | Accept-Encoding: ['gzip, deflate'] |
64 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] | 64 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] |
65 | Connection: [keep-alive] | 65 | Connection: [keep-alive] |
66 | User-Agent: [python-requests/2.9.1] | 66 | User-Agent: [python-requests/2.18.4] |
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:3000","title":"Mastodon","description":"","email":"","version":"2.4.1rc1","urls":{"streaming_api":"ws://localhost:4000"},"stats":{"user_count":2,"status_count":26,"domain_count":0},"thumbnail":"http://localhost:3000/packs/preview.jpg","languages":["en"],"contact_account":null}'} | 70 | body: {string: '{"uri":"localhost:3000","title":"Mastodon","description":"","email":"","version":"2.4.3","urls":{"streaming_api":"ws://localhost:4000"},"stats":{"user_count":2,"status_count":154,"domain_count":0},"thumbnail":"http://localhost:3000/packs/preview.jpg","languages":["en"],"contact_account":null}'} |
71 | headers: | 71 | headers: |
72 | Cache-Control: ['max-age=0, private, must-revalidate'] | 72 | Cache-Control: ['max-age=0, private, must-revalidate'] |
73 | Content-Type: [application/json; charset=utf-8] | 73 | Content-Type: [application/json; charset=utf-8] |
74 | ETag: [W/"2b80bd264645d1ac7f4690d6fa2d9016"] | 74 | ETag: [W/"5bb7766e9b27eadcb7c70892a6bc3ed7"] |
75 | Referrer-Policy: [strict-origin-when-cross-origin] | 75 | Referrer-Policy: [strict-origin-when-cross-origin] |
76 | Transfer-Encoding: [chunked] | 76 | Transfer-Encoding: [chunked] |
77 | Vary: ['Accept-Encoding, Origin'] | 77 | Vary: ['Accept-Encoding, Origin'] |
@@ -79,10 +79,10 @@ interactions: | |||
79 | X-Download-Options: [noopen] | 79 | X-Download-Options: [noopen] |
80 | X-Frame-Options: [SAMEORIGIN] | 80 | X-Frame-Options: [SAMEORIGIN] |
81 | X-Permitted-Cross-Domain-Policies: [none] | 81 | X-Permitted-Cross-Domain-Policies: [none] |
82 | X-Request-Id: [eb0f5ef2-78de-43f5-96c1-1042d6d0dfff] | 82 | X-Request-Id: [2dbf354c-c031-43a8-bf38-54ea6549ba78] |
83 | X-Runtime: ['0.035920'] | 83 | X-Runtime: ['0.037326'] |
84 | X-XSS-Protection: [1; mode=block] | 84 | X-XSS-Protection: [1; mode=block] |
85 | content-length: ['295'] | 85 | content-length: ['293'] |
86 | status: {code: 200, message: OK} | 86 | status: {code: 200, message: OK} |
87 | - request: | 87 | - request: |
88 | body: status=only+real+cars+respond. | 88 | body: status=only+real+cars+respond. |
@@ -93,19 +93,19 @@ interactions: | |||
93 | Connection: [keep-alive] | 93 | Connection: [keep-alive] |
94 | Content-Length: ['30'] | 94 | Content-Length: ['30'] |
95 | Content-Type: [application/x-www-form-urlencoded] | 95 | Content-Type: [application/x-www-form-urlencoded] |
96 | User-Agent: [python-requests/2.9.1] | 96 | User-Agent: [python-requests/2.18.4] |
97 | method: POST | 97 | method: POST |
98 | uri: http://localhost:3000/api/v1/statuses | 98 | uri: http://localhost:3000/api/v1/statuses |
99 | response: | 99 | response: |
100 | body: {string: '{"id":"100154037962221283","created_at":"2018-06-05T20:08:59.038Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100154037962221283","content":"\u003cp\u003eonly | 100 | body: {string: '{"id":"100369876220095159","created_at":"2018-07-13T22:59:29.490Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100369876220095159","content":"\u003cp\u003eonly |
101 | real cars respond.\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100154037962221283","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py | 101 | real cars respond.\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100369876220095159","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py |
102 | test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John | 102 | test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John |
103 | Lennon","locked":true,"bot":false,"created_at":"2018-06-05T21:58:43.069Z","note":"\u003cp\u003eI | 103 | Lennon","locked":true,"bot":false,"created_at":"2018-07-13T23:02:25.260Z","note":"\u003cp\u003eI |
104 | 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_.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","followers_count":0,"following_count":0,"statuses_count":24,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'} | 104 | 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":90,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'} |
105 | headers: | 105 | headers: |
106 | Cache-Control: ['max-age=0, private, must-revalidate'] | 106 | Cache-Control: ['max-age=0, private, must-revalidate'] |
107 | Content-Type: [application/json; charset=utf-8] | 107 | Content-Type: [application/json; charset=utf-8] |
108 | ETag: [W/"b24521c31eb8306880a0d96c1d147bac"] | 108 | ETag: [W/"3594fd0522ec6422209fb059d4b457a4"] |
109 | Referrer-Policy: [strict-origin-when-cross-origin] | 109 | Referrer-Policy: [strict-origin-when-cross-origin] |
110 | Transfer-Encoding: [chunked] | 110 | Transfer-Encoding: [chunked] |
111 | Vary: ['Accept-Encoding, Origin'] | 111 | Vary: ['Accept-Encoding, Origin'] |
@@ -113,10 +113,10 @@ interactions: | |||
113 | X-Download-Options: [noopen] | 113 | X-Download-Options: [noopen] |
114 | X-Frame-Options: [SAMEORIGIN] | 114 | X-Frame-Options: [SAMEORIGIN] |
115 | X-Permitted-Cross-Domain-Policies: [none] | 115 | X-Permitted-Cross-Domain-Policies: [none] |
116 | X-Request-Id: [6efaccda-331a-4995-8949-f5eac9ea4d0f] | 116 | X-Request-Id: [1ac3c0a7-c5fc-4227-bfef-31b02c915eb9] |
117 | X-Runtime: ['0.180754'] | 117 | X-Runtime: ['0.183438'] |
118 | X-XSS-Protection: [1; mode=block] | 118 | X-XSS-Protection: [1; mode=block] |
119 | content-length: ['1523'] | 119 | content-length: ['1527'] |
120 | status: {code: 200, message: OK} | 120 | status: {code: 200, message: OK} |
121 | - request: | 121 | - request: |
122 | body: status=%40mastodonpy_test+beep+beep+I%27m+a+jeep | 122 | body: status=%40mastodonpy_test+beep+beep+I%27m+a+jeep |
@@ -127,19 +127,19 @@ interactions: | |||
127 | Connection: [keep-alive] | 127 | Connection: [keep-alive] |
128 | Content-Length: ['48'] | 128 | Content-Length: ['48'] |
129 | Content-Type: [application/x-www-form-urlencoded] | 129 | Content-Type: [application/x-www-form-urlencoded] |
130 | User-Agent: [python-requests/2.9.1] | 130 | User-Agent: [python-requests/2.18.4] |
131 | method: POST | 131 | method: POST |
132 | uri: http://localhost:3000/api/v1/statuses | 132 | uri: http://localhost:3000/api/v1/statuses |
133 | response: | 133 | response: |
134 | body: {string: '{"id":"100154037982457776","created_at":"2018-06-05T20:08:59.365Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":null,"uri":"http://localhost:3000/users/admin/statuses/100154037982457776","content":"\u003cp\u003e\u003cspan | 134 | body: {string: '{"id":"100369876236168049","created_at":"2018-07-13T22:59:29.744Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":null,"uri":"http://localhost:3000/users/admin/statuses/100369876236168049","content":"\u003cp\u003e\u003cspan |
135 | class=\"h-card\"\u003e\u003ca href=\"http://localhost:3000/@mastodonpy_test\" | 135 | class=\"h-card\"\u003e\u003ca href=\"http://localhost:3000/@mastodonpy_test\" |
136 | class=\"u-url mention\"\u003e@\u003cspan\u003emastodonpy_test\u003c/span\u003e\u003c/a\u003e\u003c/span\u003e | 136 | class=\"u-url mention\"\u003e@\u003cspan\u003emastodonpy_test\u003c/span\u003e\u003c/a\u003e\u003c/span\u003e |
137 | beep beep I\u0026apos;m a jeep\u003c/p\u003e","url":"http://localhost:3000/@admin/100154037982457776","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py | 137 | beep beep I\u0026apos;m a jeep\u003c/p\u003e","url":"http://localhost:3000/@admin/100369876236168049","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py |
138 | test suite","website":null},"account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2018-06-05T19:58:37.960Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost:3000/@admin","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":4,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[{"id":"1234567890123456","username":"mastodonpy_test","url":"http://localhost:3000/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[]}'} | 138 | test suite","website":null},"account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2018-07-13T19:35:33.303Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost:3000/@admin","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":66,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[{"id":"1234567890123456","username":"mastodonpy_test","url":"http://localhost:3000/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[]}'} |
139 | headers: | 139 | headers: |
140 | Cache-Control: ['max-age=0, private, must-revalidate'] | 140 | Cache-Control: ['max-age=0, private, must-revalidate'] |
141 | Content-Type: [application/json; charset=utf-8] | 141 | Content-Type: [application/json; charset=utf-8] |
142 | ETag: [W/"a0e75eadcd8a05f0f54dbaf7bcfe6bb4"] | 142 | ETag: [W/"b05ebd2d4771dea19733e521edaf7d78"] |
143 | Referrer-Policy: [strict-origin-when-cross-origin] | 143 | Referrer-Policy: [strict-origin-when-cross-origin] |
144 | Transfer-Encoding: [chunked] | 144 | Transfer-Encoding: [chunked] |
145 | Vary: ['Accept-Encoding, Origin'] | 145 | Vary: ['Accept-Encoding, Origin'] |
@@ -147,10 +147,10 @@ interactions: | |||
147 | X-Download-Options: [noopen] | 147 | X-Download-Options: [noopen] |
148 | X-Frame-Options: [SAMEORIGIN] | 148 | X-Frame-Options: [SAMEORIGIN] |
149 | X-Permitted-Cross-Domain-Policies: [none] | 149 | X-Permitted-Cross-Domain-Policies: [none] |
150 | X-Request-Id: [d46e5aa2-c82c-436b-bd44-0e4dbbbf3d5d] | 150 | X-Request-Id: [e1694c33-5ee7-4141-a1d3-2807d1407d72] |
151 | X-Runtime: ['0.422407'] | 151 | X-Runtime: ['0.298601'] |
152 | X-XSS-Protection: [1; mode=block] | 152 | X-XSS-Protection: [1; mode=block] |
153 | content-length: ['1514'] | 153 | content-length: ['1515'] |
154 | status: {code: 200, message: OK} | 154 | status: {code: 200, message: OK} |
155 | - request: | 155 | - request: |
156 | body: status=on+the+internet%2C+nobody+knows+you%27re+a+plane | 156 | body: status=on+the+internet%2C+nobody+knows+you%27re+a+plane |
@@ -161,17 +161,17 @@ interactions: | |||
161 | Connection: [keep-alive] | 161 | Connection: [keep-alive] |
162 | Content-Length: ['55'] | 162 | Content-Length: ['55'] |
163 | Content-Type: [application/x-www-form-urlencoded] | 163 | Content-Type: [application/x-www-form-urlencoded] |
164 | User-Agent: [python-requests/2.9.1] | 164 | User-Agent: [python-requests/2.18.4] |
165 | method: POST | 165 | method: POST |
166 | uri: http://localhost:3000/api/v1/statuses | 166 | uri: http://localhost:3000/api/v1/statuses |
167 | response: | 167 | response: |
168 | body: {string: '{"id":"100154038009191408","created_at":"2018-06-05T20:08:59.804Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/admin/statuses/100154038009191408","content":"\u003cp\u003eon | 168 | body: {string: '{"id":"100369876256619444","created_at":"2018-07-13T22:59:30.057Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/admin/statuses/100369876256619444","content":"\u003cp\u003eon |
169 | the internet, nobody knows you\u0026apos;re a plane\u003c/p\u003e","url":"http://localhost:3000/@admin/100154038009191408","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py | 169 | the internet, nobody knows you\u0026apos;re a plane\u003c/p\u003e","url":"http://localhost:3000/@admin/100369876256619444","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py |
170 | test suite","website":null},"account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2018-06-05T19:58:37.960Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost:3000/@admin","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":5,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'} | 170 | test suite","website":null},"account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2018-07-13T19:35:33.303Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost:3000/@admin","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":67,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'} |
171 | headers: | 171 | headers: |
172 | Cache-Control: ['max-age=0, private, must-revalidate'] | 172 | Cache-Control: ['max-age=0, private, must-revalidate'] |
173 | Content-Type: [application/json; charset=utf-8] | 173 | Content-Type: [application/json; charset=utf-8] |
174 | ETag: [W/"de50c61097df4f6a4a303f0ab0244d26"] | 174 | ETag: [W/"7b0bd3a95a1ef9821f8d5106c832076a"] |
175 | Referrer-Policy: [strict-origin-when-cross-origin] | 175 | Referrer-Policy: [strict-origin-when-cross-origin] |
176 | Transfer-Encoding: [chunked] | 176 | Transfer-Encoding: [chunked] |
177 | Vary: ['Accept-Encoding, Origin'] | 177 | Vary: ['Accept-Encoding, Origin'] |
@@ -179,10 +179,10 @@ interactions: | |||
179 | X-Download-Options: [noopen] | 179 | X-Download-Options: [noopen] |
180 | X-Frame-Options: [SAMEORIGIN] | 180 | X-Frame-Options: [SAMEORIGIN] |
181 | X-Permitted-Cross-Domain-Policies: [none] | 181 | X-Permitted-Cross-Domain-Policies: [none] |
182 | X-Request-Id: [c04b0d1f-2c2c-4355-9911-762e62ea0b2d] | 182 | X-Request-Id: [fe9470f7-e1b5-462e-8593-cffa042748f0] |
183 | X-Runtime: ['0.436143'] | 183 | X-Runtime: ['0.228536'] |
184 | X-XSS-Protection: [1; mode=block] | 184 | X-XSS-Protection: [1; mode=block] |
185 | content-length: ['1213'] | 185 | content-length: ['1214'] |
186 | status: {code: 200, message: OK} | 186 | status: {code: 200, message: OK} |
187 | - request: | 187 | - request: |
188 | body: null | 188 | body: null |
@@ -192,15 +192,15 @@ interactions: | |||
192 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] | 192 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] |
193 | Connection: [keep-alive] | 193 | Connection: [keep-alive] |
194 | Content-Length: ['0'] | 194 | Content-Length: ['0'] |
195 | User-Agent: [python-requests/2.9.1] | 195 | User-Agent: [python-requests/2.18.4] |
196 | method: DELETE | 196 | method: DELETE |
197 | uri: http://localhost:3000/api/v1/statuses/100154037962221283 | 197 | uri: http://localhost:3000/api/v1/statuses/100369876220095159 |
198 | response: | 198 | response: |
199 | body: {string: '{}'} | 199 | body: {string: '{}'} |
200 | headers: | 200 | headers: |
201 | Cache-Control: ['max-age=0, private, must-revalidate'] | 201 | Cache-Control: ['max-age=0, private, must-revalidate'] |
202 | Content-Type: [application/json; charset=utf-8] | 202 | Content-Type: [application/json; charset=utf-8] |
203 | ETag: [W/"77e6df2ccf2481bf2fa04c13f32f7e55"] | 203 | ETag: [W/"42849fc5dc928bf8ee5466cac795ede8"] |
204 | Referrer-Policy: [strict-origin-when-cross-origin] | 204 | Referrer-Policy: [strict-origin-when-cross-origin] |
205 | Transfer-Encoding: [chunked] | 205 | Transfer-Encoding: [chunked] |
206 | Vary: ['Accept-Encoding, Origin'] | 206 | Vary: ['Accept-Encoding, Origin'] |
@@ -208,8 +208,8 @@ interactions: | |||
208 | X-Download-Options: [noopen] | 208 | X-Download-Options: [noopen] |
209 | X-Frame-Options: [SAMEORIGIN] | 209 | X-Frame-Options: [SAMEORIGIN] |
210 | X-Permitted-Cross-Domain-Policies: [none] | 210 | X-Permitted-Cross-Domain-Policies: [none] |
211 | X-Request-Id: [799aea18-beec-4be9-8bdb-f7c19c5efa4a] | 211 | X-Request-Id: [502cb418-4535-4b8e-b7dc-5cf549b907d6] |
212 | X-Runtime: ['0.040215'] | 212 | X-Runtime: ['0.029255'] |
213 | X-XSS-Protection: [1; mode=block] | 213 | X-XSS-Protection: [1; mode=block] |
214 | content-length: ['2'] | 214 | content-length: ['2'] |
215 | status: {code: 200, message: OK} | 215 | status: {code: 200, message: OK} |
@@ -220,42 +220,42 @@ interactions: | |||
220 | Accept-Encoding: ['gzip, deflate'] | 220 | Accept-Encoding: ['gzip, deflate'] |
221 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] | 221 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] |
222 | Connection: [keep-alive] | 222 | Connection: [keep-alive] |
223 | User-Agent: [python-requests/2.9.1] | 223 | User-Agent: [python-requests/2.18.4] |
224 | method: GET | 224 | method: GET |
225 | uri: http://localhost:4000/api/v1/streaming/user | 225 | uri: http://localhost:4000/api/v1/streaming/user |
226 | response: | 226 | response: |
227 | body: {string: 'event: update | 227 | body: {string: 'event: update |
228 | 228 | ||
229 | data: {"id":"100154037962221283","created_at":"2018-06-05T20:08:59.038Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100154037962221283","content":"<p>only | 229 | data: {"id":"100369876220095159","created_at":"2018-07-13T22:59:29.490Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100369876220095159","content":"<p>only |
230 | real cars respond.</p>","url":"http://localhost:3000/@mastodonpy_test/100154037962221283","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py | 230 | real cars respond.</p>","url":"http://localhost:3000/@mastodonpy_test/100369876220095159","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py |
231 | test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John | 231 | test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John |
232 | Lennon","locked":true,"bot":false,"created_at":"2018-06-05T21:58:43.069Z","note":"<p>I | 232 | Lennon","locked":true,"bot":false,"created_at":"2018-07-13T23:02:25.260Z","note":"<p>I |
233 | walk funny</p>","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","followers_count":0,"following_count":0,"statuses_count":24,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]} | 233 | walk funny</p>","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":90,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]} |
234 | 234 | ||
235 | 235 | ||
236 | event: notification | 236 | event: notification |
237 | 237 | ||
238 | data: {"id":"13","type":"mention","created_at":"2018-06-05T20:08:59.670Z","account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2018-06-05T19:58:37.960Z","note":"<p></p>","url":"http://localhost:3000/@admin","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":4,"emojis":[],"fields":[]},"status":{"id":"100154037982457776","created_at":"2018-06-05T20:08:59.365Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":null,"uri":"http://localhost:3000/users/admin/statuses/100154037982457776","content":"<p><span | 238 | data: {"id":"58","type":"mention","created_at":"2018-07-13T22:59:29.936Z","account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2018-07-13T19:35:33.303Z","note":"<p></p>","url":"http://localhost:3000/@admin","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":66,"emojis":[],"fields":[]},"status":{"id":"100369876236168049","created_at":"2018-07-13T22:59:29.744Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":null,"uri":"http://localhost:3000/users/admin/statuses/100369876236168049","content":"<p><span |
239 | class=\"h-card\"><a href=\"http://localhost:3000/@mastodonpy_test\" class=\"u-url | 239 | class=\"h-card\"><a href=\"http://localhost:3000/@mastodonpy_test\" class=\"u-url |
240 | mention\">@<span>mastodonpy_test</span></a></span> beep beep I'm a jeep</p>","url":"http://localhost:3000/@admin/100154037982457776","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"reblog":null,"application":{"name":"Mastodon.py | 240 | mention\">@<span>mastodonpy_test</span></a></span> beep beep I'm a jeep</p>","url":"http://localhost:3000/@admin/100369876236168049","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"reblog":null,"application":{"name":"Mastodon.py |
241 | test suite","website":null},"account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2018-06-05T19:58:37.960Z","note":"<p></p>","url":"http://localhost:3000/@admin","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":4,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[{"id":"1234567890123456","username":"mastodonpy_test","url":"http://localhost:3000/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[]}} | 241 | test suite","website":null},"account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2018-07-13T19:35:33.303Z","note":"<p></p>","url":"http://localhost:3000/@admin","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":66,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[{"id":"1234567890123456","username":"mastodonpy_test","url":"http://localhost:3000/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[]}} |
242 | 242 | ||
243 | 243 | ||
244 | event: delete | 244 | event: delete |
245 | 245 | ||
246 | data: 100154037962221283 | 246 | data: 100369876220095159 |
247 | 247 | ||
248 | 248 | ||
249 | '} | 249 | :'} |
250 | headers: | 250 | headers: |
251 | Access-Control-Allow-Headers: ['Authorization, Accept, Cache-Control'] | 251 | Access-Control-Allow-Headers: ['Authorization, Accept, Cache-Control'] |
252 | Access-Control-Allow-Methods: ['GET, OPTIONS'] | 252 | Access-Control-Allow-Methods: ['GET, OPTIONS'] |
253 | Access-Control-Allow-Origin: ['*'] | 253 | Access-Control-Allow-Origin: ['*'] |
254 | Connection: [keep-alive] | 254 | Connection: [keep-alive] |
255 | Content-Type: [text/event-stream] | 255 | Content-Type: [text/event-stream] |
256 | Date: ['Tue, 05 Jun 2018 20:08:59 GMT'] | 256 | Date: ['Fri, 13 Jul 2018 22:59:29 GMT'] |
257 | Transfer-Encoding: [chunked] | 257 | Transfer-Encoding: [chunked] |
258 | X-Powered-By: [Express] | 258 | X-Powered-By: [Express] |
259 | X-Request-Id: [f9749087-b3e8-4899-bfa4-12506467a510] | 259 | X-Request-Id: [fe3b2562-e967-41d7-9d44-53e53bd6fbe1] |
260 | status: {code: 200, message: OK} | 260 | status: {code: 200, message: OK} |
261 | version: 1 | 261 | version: 1 |