diff options
Diffstat (limited to 'tests/cassettes/test_list_timeline.yaml')
-rw-r--r-- | tests/cassettes/test_list_timeline.yaml | 90 |
1 files changed, 45 insertions, 45 deletions
diff --git a/tests/cassettes/test_list_timeline.yaml b/tests/cassettes/test_list_timeline.yaml index ceb2089..7fb7a7c 100644 --- a/tests/cassettes/test_list_timeline.yaml +++ b/tests/cassettes/test_list_timeline.yaml | |||
@@ -12,17 +12,17 @@ interactions: | |||
12 | method: POST | 12 | method: POST |
13 | uri: http://localhost:3000/api/v1/lists | 13 | uri: http://localhost:3000/api/v1/lists |
14 | response: | 14 | response: |
15 | body: {string: '{"id":"25","title":"ham burglars"}'} | 15 | body: {string: '{"id":"11","title":"ham burglars"}'} |
16 | headers: | 16 | headers: |
17 | Cache-Control: ['max-age=0, private, must-revalidate'] | 17 | Cache-Control: ['max-age=0, private, must-revalidate'] |
18 | Content-Type: [application/json; charset=utf-8] | 18 | Content-Type: [application/json; charset=utf-8] |
19 | ETag: [W/"c56ed009e747b046f62c422a4bd0c475"] | 19 | ETag: [W/"959fa100ca1cadc8d076d53173c65d3f"] |
20 | Transfer-Encoding: [chunked] | 20 | Transfer-Encoding: [chunked] |
21 | Vary: ['Accept-Encoding, Origin'] | 21 | Vary: ['Accept-Encoding, Origin'] |
22 | X-Content-Type-Options: [nosniff] | 22 | X-Content-Type-Options: [nosniff] |
23 | X-Frame-Options: [SAMEORIGIN] | 23 | X-Frame-Options: [SAMEORIGIN] |
24 | X-Request-Id: [fee67ca2-a91f-4d5e-870d-f94f63fdae01] | 24 | X-Request-Id: [603e1265-8813-42b0-9840-e0ef3ad51458] |
25 | X-Runtime: ['0.046275'] | 25 | X-Runtime: ['0.029091'] |
26 | X-XSS-Protection: [1; mode=block] | 26 | X-XSS-Protection: [1; mode=block] |
27 | content-length: ['34'] | 27 | content-length: ['34'] |
28 | status: {code: 200, message: OK} | 28 | status: {code: 200, message: OK} |
@@ -37,19 +37,19 @@ interactions: | |||
37 | method: GET | 37 | method: GET |
38 | uri: http://localhost:3000/api/v1/accounts/verify_credentials | 38 | uri: http://localhost:3000/api/v1/accounts/verify_credentials |
39 | response: | 39 | response: |
40 | body: {string: '{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"created_at":"2018-04-17T21:40:55.626Z","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":51,"source":{"privacy":"public","sensitive":false,"note":""}}'} | 40 | body: {string: '{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"created_at":"2018-05-06T22:36:57.850Z","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":1,"following_count":0,"statuses_count":6,"source":{"privacy":"public","sensitive":false,"note":""}}'} |
41 | headers: | 41 | headers: |
42 | Cache-Control: ['max-age=0, private, must-revalidate'] | 42 | Cache-Control: ['max-age=0, private, must-revalidate'] |
43 | Content-Type: [application/json; charset=utf-8] | 43 | Content-Type: [application/json; charset=utf-8] |
44 | ETag: [W/"6f31f5da2f0f9aeec5ce050c8e439288"] | 44 | ETag: [W/"48dec04b47acf91c95d921354636a6a7"] |
45 | Transfer-Encoding: [chunked] | 45 | Transfer-Encoding: [chunked] |
46 | Vary: ['Accept-Encoding, Origin'] | 46 | Vary: ['Accept-Encoding, Origin'] |
47 | X-Content-Type-Options: [nosniff] | 47 | X-Content-Type-Options: [nosniff] |
48 | X-Frame-Options: [SAMEORIGIN] | 48 | X-Frame-Options: [SAMEORIGIN] |
49 | X-Request-Id: [c7ba1cc0-3315-4847-a0f8-7ca1c8014f53] | 49 | X-Request-Id: [1d7b5b7d-5dd0-4c34-9af9-f544d2aa2331] |
50 | X-Runtime: ['0.048756'] | 50 | X-Runtime: ['0.020716'] |
51 | X-XSS-Protection: [1; mode=block] | 51 | X-XSS-Protection: [1; mode=block] |
52 | content-length: ['571'] | 52 | content-length: ['570'] |
53 | status: {code: 200, message: OK} | 53 | status: {code: 200, message: OK} |
54 | - request: | 54 | - request: |
55 | body: null | 55 | body: null |
@@ -67,13 +67,13 @@ interactions: | |||
67 | headers: | 67 | headers: |
68 | Cache-Control: ['max-age=0, private, must-revalidate'] | 68 | Cache-Control: ['max-age=0, private, must-revalidate'] |
69 | Content-Type: [application/json; charset=utf-8] | 69 | Content-Type: [application/json; charset=utf-8] |
70 | ETag: [W/"ff571039e7eccffedf0c3baf0ee5835d"] | 70 | ETag: [W/"cef1a083cbdd840a03cca72b95ea653b"] |
71 | Transfer-Encoding: [chunked] | 71 | Transfer-Encoding: [chunked] |
72 | Vary: ['Accept-Encoding, Origin'] | 72 | Vary: ['Accept-Encoding, Origin'] |
73 | X-Content-Type-Options: [nosniff] | 73 | X-Content-Type-Options: [nosniff] |
74 | X-Frame-Options: [SAMEORIGIN] | 74 | X-Frame-Options: [SAMEORIGIN] |
75 | X-Request-Id: [aecd782a-5218-489a-a801-52be98fab5bb] | 75 | X-Request-Id: [10929688-c231-44ab-aee7-bdcda5699197] |
76 | X-Runtime: ['0.137542'] | 76 | X-Runtime: ['0.035432'] |
77 | X-XSS-Protection: [1; mode=block] | 77 | X-XSS-Protection: [1; mode=block] |
78 | content-length: ['174'] | 78 | content-length: ['174'] |
79 | status: {code: 200, message: OK} | 79 | status: {code: 200, message: OK} |
@@ -88,24 +88,24 @@ interactions: | |||
88 | Content-Type: [application/x-www-form-urlencoded] | 88 | Content-Type: [application/x-www-form-urlencoded] |
89 | User-Agent: [python-requests/2.9.1] | 89 | User-Agent: [python-requests/2.9.1] |
90 | method: POST | 90 | method: POST |
91 | uri: http://localhost:3000/api/v1/lists/25/accounts | 91 | uri: http://localhost:3000/api/v1/lists/11/accounts |
92 | response: | 92 | response: |
93 | body: {string: '{}'} | 93 | body: {string: '{}'} |
94 | headers: | 94 | headers: |
95 | Cache-Control: ['max-age=0, private, must-revalidate'] | 95 | Cache-Control: ['max-age=0, private, must-revalidate'] |
96 | Content-Type: [application/json; charset=utf-8] | 96 | Content-Type: [application/json; charset=utf-8] |
97 | ETag: [W/"1040bdd26362a18b29d5084d0ea80fbc"] | 97 | ETag: [W/"dfebc5bdd5f9edfea8c743decc046958"] |
98 | Transfer-Encoding: [chunked] | 98 | Transfer-Encoding: [chunked] |
99 | Vary: ['Accept-Encoding, Origin'] | 99 | Vary: ['Accept-Encoding, Origin'] |
100 | X-Content-Type-Options: [nosniff] | 100 | X-Content-Type-Options: [nosniff] |
101 | X-Frame-Options: [SAMEORIGIN] | 101 | X-Frame-Options: [SAMEORIGIN] |
102 | X-Request-Id: [327011fb-439c-4d25-b568-5f3b2c3f7d54] | 102 | X-Request-Id: [05d5732f-89cf-49a1-91fc-fb92ab2394fd] |
103 | X-Runtime: ['0.073036'] | 103 | X-Runtime: ['0.043590'] |
104 | X-XSS-Protection: [1; mode=block] | 104 | X-XSS-Protection: [1; mode=block] |
105 | content-length: ['2'] | 105 | content-length: ['2'] |
106 | status: {code: 200, message: OK} | 106 | status: {code: 200, message: OK} |
107 | - request: | 107 | - request: |
108 | body: visibility=public&status=I+have+never+stolen+a+ham+in+my+life. | 108 | body: status=I+have+never+stolen+a+ham+in+my+life.&visibility=public |
109 | headers: | 109 | headers: |
110 | Accept: ['*/*'] | 110 | Accept: ['*/*'] |
111 | Accept-Encoding: ['gzip, deflate'] | 111 | Accept-Encoding: ['gzip, deflate'] |
@@ -117,21 +117,21 @@ interactions: | |||
117 | method: POST | 117 | method: POST |
118 | uri: http://localhost:3000/api/v1/statuses | 118 | uri: http://localhost:3000/api/v1/statuses |
119 | response: | 119 | response: |
120 | body: {string: '{"id":"99982642668365711","created_at":"2018-05-06T13:40:54.415Z","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/99982642668365711","content":"\u003cp\u003eI | 120 | body: {string: '{"id":"99984786118987758","created_at":"2018-05-06T22:46:00.862Z","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/99984786118987758","content":"\u003cp\u003eI |
121 | have never stolen a ham in my life.\u003c/p\u003e","url":"http://localhost:3000/@admin/99982642668365711","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py | 121 | have never stolen a ham in my life.\u003c/p\u003e","url":"http://localhost:3000/@admin/99984786118987758","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py |
122 | test suite","website":null},"account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"created_at":"2018-04-17T21:40:55.626Z","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":1,"following_count":0,"statuses_count":52},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'} | 122 | test suite","website":null},"account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"created_at":"2018-05-06T22:36:57.850Z","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":1,"following_count":0,"statuses_count":7},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'} |
123 | headers: | 123 | headers: |
124 | Cache-Control: ['max-age=0, private, must-revalidate'] | 124 | Cache-Control: ['max-age=0, private, must-revalidate'] |
125 | Content-Type: [application/json; charset=utf-8] | 125 | Content-Type: [application/json; charset=utf-8] |
126 | ETag: [W/"088ca43a6864bf53d809c7cc6be28fbb"] | 126 | ETag: [W/"fa4c60b4f9f1c900fdc55f8c5c21cea2"] |
127 | Transfer-Encoding: [chunked] | 127 | Transfer-Encoding: [chunked] |
128 | Vary: ['Accept-Encoding, Origin'] | 128 | Vary: ['Accept-Encoding, Origin'] |
129 | X-Content-Type-Options: [nosniff] | 129 | X-Content-Type-Options: [nosniff] |
130 | X-Frame-Options: [SAMEORIGIN] | 130 | X-Frame-Options: [SAMEORIGIN] |
131 | X-Request-Id: [960b252d-e19e-4c3c-ab13-6ca5e82038e1] | 131 | X-Request-Id: [42009640-e1ef-4ecb-ab79-211096f164fb] |
132 | X-Runtime: ['0.239041'] | 132 | X-Runtime: ['0.226850'] |
133 | X-XSS-Protection: [1; mode=block] | 133 | X-XSS-Protection: [1; mode=block] |
134 | content-length: ['1158'] | 134 | content-length: ['1157'] |
135 | status: {code: 200, message: OK} | 135 | status: {code: 200, message: OK} |
136 | - request: | 136 | - request: |
137 | body: null | 137 | body: null |
@@ -142,26 +142,26 @@ interactions: | |||
142 | Connection: [keep-alive] | 142 | Connection: [keep-alive] |
143 | User-Agent: [python-requests/2.9.1] | 143 | User-Agent: [python-requests/2.9.1] |
144 | method: GET | 144 | method: GET |
145 | uri: http://localhost:3000/api/v1/timelines/list/25 | 145 | uri: http://localhost:3000/api/v1/timelines/list/11 |
146 | response: | 146 | response: |
147 | body: {string: '[{"id":"99982642668365711","created_at":"2018-05-06T13:40:54.415Z","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/99982642668365711","content":"\u003cp\u003eI | 147 | body: {string: '[{"id":"99984786118987758","created_at":"2018-05-06T22:46:00.862Z","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/99984786118987758","content":"\u003cp\u003eI |
148 | have never stolen a ham in my life.\u003c/p\u003e","url":"http://localhost:3000/@admin/99982642668365711","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"reblog":null,"application":{"name":"Mastodon.py | 148 | have never stolen a ham in my life.\u003c/p\u003e","url":"http://localhost:3000/@admin/99984786118987758","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"reblog":null,"application":{"name":"Mastodon.py |
149 | test suite","website":null},"account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"created_at":"2018-04-17T21:40:55.626Z","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":1,"following_count":0,"statuses_count":52},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}]'} | 149 | test suite","website":null},"account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"created_at":"2018-05-06T22:36:57.850Z","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":1,"following_count":0,"statuses_count":7},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}]'} |
150 | headers: | 150 | headers: |
151 | Cache-Control: ['max-age=0, private, must-revalidate'] | 151 | Cache-Control: ['max-age=0, private, must-revalidate'] |
152 | Content-Type: [application/json; charset=utf-8] | 152 | Content-Type: [application/json; charset=utf-8] |
153 | ETag: [W/"db76a989e40e671ea4344ecdaacebe3d"] | 153 | ETag: [W/"edf8767f9d8e63a3102bbcdac58ce620"] |
154 | Link: ['<http://localhost:3000/api/v1/timelines/list/25?max_id=99982642668365711>; | 154 | Link: ['<http://localhost:3000/api/v1/timelines/list/11?max_id=99984786118987758>; |
155 | rel="next", <http://localhost:3000/api/v1/timelines/list/25?since_id=99982642668365711>; | 155 | rel="next", <http://localhost:3000/api/v1/timelines/list/11?since_id=99984786118987758>; |
156 | rel="prev"'] | 156 | rel="prev"'] |
157 | Transfer-Encoding: [chunked] | 157 | Transfer-Encoding: [chunked] |
158 | Vary: ['Accept-Encoding, Origin'] | 158 | Vary: ['Accept-Encoding, Origin'] |
159 | X-Content-Type-Options: [nosniff] | 159 | X-Content-Type-Options: [nosniff] |
160 | X-Frame-Options: [SAMEORIGIN] | 160 | X-Frame-Options: [SAMEORIGIN] |
161 | X-Request-Id: [5bd50e1b-667c-4f56-b363-d576b1a7aab2] | 161 | X-Request-Id: [64a57a6c-8f1a-487c-b809-5b4e578755cc] |
162 | X-Runtime: ['0.133037'] | 162 | X-Runtime: ['0.144037'] |
163 | X-XSS-Protection: [1; mode=block] | 163 | X-XSS-Protection: [1; mode=block] |
164 | content-length: ['1145'] | 164 | content-length: ['1144'] |
165 | status: {code: 200, message: OK} | 165 | status: {code: 200, message: OK} |
166 | - request: | 166 | - request: |
167 | body: null | 167 | body: null |
@@ -173,19 +173,19 @@ interactions: | |||
173 | Content-Length: ['0'] | 173 | Content-Length: ['0'] |
174 | User-Agent: [python-requests/2.9.1] | 174 | User-Agent: [python-requests/2.9.1] |
175 | method: DELETE | 175 | method: DELETE |
176 | uri: http://localhost:3000/api/v1/statuses/99982642668365711 | 176 | uri: http://localhost:3000/api/v1/statuses/99984786118987758 |
177 | response: | 177 | response: |
178 | body: {string: '{}'} | 178 | body: {string: '{}'} |
179 | headers: | 179 | headers: |
180 | Cache-Control: ['max-age=0, private, must-revalidate'] | 180 | Cache-Control: ['max-age=0, private, must-revalidate'] |
181 | Content-Type: [application/json; charset=utf-8] | 181 | Content-Type: [application/json; charset=utf-8] |
182 | ETag: [W/"1040bdd26362a18b29d5084d0ea80fbc"] | 182 | ETag: [W/"1e9183cf3bfe2134fd39b219636ffa8b"] |
183 | Transfer-Encoding: [chunked] | 183 | Transfer-Encoding: [chunked] |
184 | Vary: ['Accept-Encoding, Origin'] | 184 | Vary: ['Accept-Encoding, Origin'] |
185 | X-Content-Type-Options: [nosniff] | 185 | X-Content-Type-Options: [nosniff] |
186 | X-Frame-Options: [SAMEORIGIN] | 186 | X-Frame-Options: [SAMEORIGIN] |
187 | X-Request-Id: [0aadaf37-9c0a-45e6-ae00-47e47775257f] | 187 | X-Request-Id: [9010a178-3602-4b4e-b4e9-673ecc1ca274] |
188 | X-Runtime: ['0.059188'] | 188 | X-Runtime: ['0.042932'] |
189 | X-XSS-Protection: [1; mode=block] | 189 | X-XSS-Protection: [1; mode=block] |
190 | content-length: ['2'] | 190 | content-length: ['2'] |
191 | status: {code: 200, message: OK} | 191 | status: {code: 200, message: OK} |
@@ -205,13 +205,13 @@ interactions: | |||
205 | headers: | 205 | headers: |
206 | Cache-Control: ['max-age=0, private, must-revalidate'] | 206 | Cache-Control: ['max-age=0, private, must-revalidate'] |
207 | Content-Type: [application/json; charset=utf-8] | 207 | Content-Type: [application/json; charset=utf-8] |
208 | ETag: [W/"a1b7df866f4cd9bb23dfdc00a0f40042"] | 208 | ETag: [W/"418dfb344e516f102d3d12f34f0e8c93"] |
209 | Transfer-Encoding: [chunked] | 209 | Transfer-Encoding: [chunked] |
210 | Vary: ['Accept-Encoding, Origin'] | 210 | Vary: ['Accept-Encoding, Origin'] |
211 | X-Content-Type-Options: [nosniff] | 211 | X-Content-Type-Options: [nosniff] |
212 | X-Frame-Options: [SAMEORIGIN] | 212 | X-Frame-Options: [SAMEORIGIN] |
213 | X-Request-Id: [eb36fc4f-98cb-430f-ad5c-1efb8e41641b] | 213 | X-Request-Id: [ebc45a88-c907-4fad-8441-14e31891b1fb] |
214 | X-Runtime: ['0.124516'] | 214 | X-Runtime: ['0.094351'] |
215 | X-XSS-Protection: [1; mode=block] | 215 | X-XSS-Protection: [1; mode=block] |
216 | content-length: ['175'] | 216 | content-length: ['175'] |
217 | status: {code: 200, message: OK} | 217 | status: {code: 200, message: OK} |
@@ -225,19 +225,19 @@ interactions: | |||
225 | Content-Length: ['0'] | 225 | Content-Length: ['0'] |
226 | User-Agent: [python-requests/2.9.1] | 226 | User-Agent: [python-requests/2.9.1] |
227 | method: DELETE | 227 | method: DELETE |
228 | uri: http://localhost:3000/api/v1/lists/25 | 228 | uri: http://localhost:3000/api/v1/lists/11 |
229 | response: | 229 | response: |
230 | body: {string: '{}'} | 230 | body: {string: '{}'} |
231 | headers: | 231 | headers: |
232 | Cache-Control: ['max-age=0, private, must-revalidate'] | 232 | Cache-Control: ['max-age=0, private, must-revalidate'] |
233 | Content-Type: [application/json; charset=utf-8] | 233 | Content-Type: [application/json; charset=utf-8] |
234 | ETag: [W/"fb2e8895e367561e01e27ebb11075fd3"] | 234 | ETag: [W/"1e9183cf3bfe2134fd39b219636ffa8b"] |
235 | Transfer-Encoding: [chunked] | 235 | Transfer-Encoding: [chunked] |
236 | Vary: ['Accept-Encoding, Origin'] | 236 | Vary: ['Accept-Encoding, Origin'] |
237 | X-Content-Type-Options: [nosniff] | 237 | X-Content-Type-Options: [nosniff] |
238 | X-Frame-Options: [SAMEORIGIN] | 238 | X-Frame-Options: [SAMEORIGIN] |
239 | X-Request-Id: [24816eab-335e-4282-92f9-e202b71824f7] | 239 | X-Request-Id: [018f88c7-3e3a-46e5-9145-937c9d1eceaa] |
240 | X-Runtime: ['0.041613'] | 240 | X-Runtime: ['0.030450'] |
241 | X-XSS-Protection: [1; mode=block] | 241 | X-XSS-Protection: [1; mode=block] |
242 | content-length: ['2'] | 242 | content-length: ['2'] |
243 | status: {code: 200, message: OK} | 243 | status: {code: 200, message: OK} |