diff options
author | Lorenz Diener <[email protected]> | 2019-10-11 23:59:24 +0200 |
---|---|---|
committer | Lorenz Diener <[email protected]> | 2019-10-11 23:59:24 +0200 |
commit | 437f68c29a18303de3c75962021bbe030b2cf85c (patch) | |
tree | 83b7ba151a3e52163fd7048f82672394bcbb3865 /tests/cassettes/test_list_by_account.yaml | |
parent | 2c2f55fd63e4096580f4d56279c261cedb1be1a9 (diff) | |
download | mastodon.py-437f68c29a18303de3c75962021bbe030b2cf85c.tar.gz |
Update tests for 3.0.1 and fix regressions
Diffstat (limited to 'tests/cassettes/test_list_by_account.yaml')
-rw-r--r-- | tests/cassettes/test_list_by_account.yaml | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/tests/cassettes/test_list_by_account.yaml b/tests/cassettes/test_list_by_account.yaml index a4042ef..21fe76e 100644 --- a/tests/cassettes/test_list_by_account.yaml +++ b/tests/cassettes/test_list_by_account.yaml | |||
@@ -12,7 +12,7 @@ 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":"24","title":"ham burglars"}'} | 15 | body: {string: '{"id":"44","title":"ham burglars"}'} |
16 | headers: | 16 | headers: |
17 | Cache-Control: ['no-cache, no-store'] | 17 | Cache-Control: ['no-cache, no-store'] |
18 | Content-Type: [application/json; charset=utf-8] | 18 | Content-Type: [application/json; charset=utf-8] |
@@ -23,8 +23,8 @@ interactions: | |||
23 | X-Download-Options: [noopen] | 23 | X-Download-Options: [noopen] |
24 | X-Frame-Options: [SAMEORIGIN] | 24 | X-Frame-Options: [SAMEORIGIN] |
25 | X-Permitted-Cross-Domain-Policies: [none] | 25 | X-Permitted-Cross-Domain-Policies: [none] |
26 | X-Request-Id: [6f10d6d7-dcc8-49b2-9069-0bb68c6a8176] | 26 | X-Request-Id: [9427d811-0916-4d16-98a3-f787d1995dad] |
27 | X-Runtime: ['0.026989'] | 27 | X-Runtime: ['0.102152'] |
28 | X-XSS-Protection: [1; mode=block] | 28 | X-XSS-Protection: [1; mode=block] |
29 | content-length: ['34'] | 29 | content-length: ['34'] |
30 | status: {code: 200, message: OK} | 30 | status: {code: 200, message: OK} |
@@ -39,7 +39,7 @@ interactions: | |||
39 | method: GET | 39 | method: GET |
40 | uri: http://localhost:3000/api/v1/accounts/verify_credentials | 40 | uri: http://localhost:3000/api/v1/accounts/verify_credentials |
41 | response: | 41 | response: |
42 | body: {string: '{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2019-06-22T12:42:50.096Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@admin","avatar":"http://localhost/avatars/original/missing.png","avatar_static":"http://localhost/avatars/original/missing.png","header":"http://localhost/headers/original/missing.png","header_static":"http://localhost/headers/original/missing.png","followers_count":2,"following_count":1,"statuses_count":16,"source":{"privacy":"public","sensitive":false,"language":null,"note":"","fields":[]},"emojis":[],"fields":[]}'} | 42 | body: {string: '{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2019-06-22T12:42:50.096Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@admin","avatar":"http://localhost/avatars/original/missing.png","avatar_static":"http://localhost/avatars/original/missing.png","header":"http://localhost/headers/original/missing.png","header_static":"http://localhost/headers/original/missing.png","followers_count":2,"following_count":1,"statuses_count":27,"last_status_at":"2019-10-11T21:48:42.003Z","source":{"privacy":"public","sensitive":false,"language":null,"note":"","fields":[],"follow_requests_count":0},"emojis":[],"fields":[]}'} |
43 | headers: | 43 | headers: |
44 | Cache-Control: ['no-cache, no-store'] | 44 | Cache-Control: ['no-cache, no-store'] |
45 | Content-Type: [application/json; charset=utf-8] | 45 | Content-Type: [application/json; charset=utf-8] |
@@ -50,10 +50,10 @@ interactions: | |||
50 | X-Download-Options: [noopen] | 50 | X-Download-Options: [noopen] |
51 | X-Frame-Options: [SAMEORIGIN] | 51 | X-Frame-Options: [SAMEORIGIN] |
52 | X-Permitted-Cross-Domain-Policies: [none] | 52 | X-Permitted-Cross-Domain-Policies: [none] |
53 | X-Request-Id: [b1060cec-a428-4043-b223-39f9b2380f41] | 53 | X-Request-Id: [44b85a67-2c19-414c-af1d-1c3a4def321e] |
54 | X-Runtime: ['0.020614'] | 54 | X-Runtime: ['0.032667'] |
55 | X-XSS-Protection: [1; mode=block] | 55 | X-XSS-Protection: [1; mode=block] |
56 | content-length: ['610'] | 56 | content-length: ['680'] |
57 | status: {code: 200, message: OK} | 57 | status: {code: 200, message: OK} |
58 | - request: | 58 | - request: |
59 | body: reblogs=1&id=1 | 59 | body: reblogs=1&id=1 |
@@ -79,8 +79,8 @@ 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: [9d655eda-5c16-48d8-a61e-4717df1478b9] | 82 | X-Request-Id: [0dfe6e14-763d-4e22-874f-cb159f3642ad] |
83 | X-Runtime: ['0.092035'] | 83 | X-Runtime: ['0.109923'] |
84 | X-XSS-Protection: [1; mode=block] | 84 | X-XSS-Protection: [1; mode=block] |
85 | content-length: ['209'] | 85 | content-length: ['209'] |
86 | status: {code: 200, message: OK} | 86 | status: {code: 200, message: OK} |
@@ -95,7 +95,7 @@ interactions: | |||
95 | Content-Type: [application/x-www-form-urlencoded] | 95 | Content-Type: [application/x-www-form-urlencoded] |
96 | User-Agent: [python-requests/2.18.4] | 96 | User-Agent: [python-requests/2.18.4] |
97 | method: POST | 97 | method: POST |
98 | uri: http://localhost:3000/api/v1/lists/24/accounts | 98 | uri: http://localhost:3000/api/v1/lists/44/accounts |
99 | response: | 99 | response: |
100 | body: {string: '{}'} | 100 | body: {string: '{}'} |
101 | headers: | 101 | headers: |
@@ -108,8 +108,8 @@ interactions: | |||
108 | X-Download-Options: [noopen] | 108 | X-Download-Options: [noopen] |
109 | X-Frame-Options: [SAMEORIGIN] | 109 | X-Frame-Options: [SAMEORIGIN] |
110 | X-Permitted-Cross-Domain-Policies: [none] | 110 | X-Permitted-Cross-Domain-Policies: [none] |
111 | X-Request-Id: [2cde6a23-bfd1-46df-b3e6-67104ae2826c] | 111 | X-Request-Id: [935e5ee1-15b8-4d84-8e7c-73b1c6fa55e0] |
112 | X-Runtime: ['0.071463'] | 112 | X-Runtime: ['0.093337'] |
113 | X-XSS-Protection: [1; mode=block] | 113 | X-XSS-Protection: [1; mode=block] |
114 | content-length: ['2'] | 114 | content-length: ['2'] |
115 | status: {code: 200, message: OK} | 115 | status: {code: 200, message: OK} |
@@ -124,7 +124,7 @@ interactions: | |||
124 | method: GET | 124 | method: GET |
125 | uri: http://localhost:3000/api/v1/accounts/1/lists | 125 | uri: http://localhost:3000/api/v1/accounts/1/lists |
126 | response: | 126 | response: |
127 | body: {string: '[{"id":"24","title":"ham burglars"}]'} | 127 | body: {string: '[{"id":"44","title":"ham burglars"}]'} |
128 | headers: | 128 | headers: |
129 | Cache-Control: ['no-cache, no-store'] | 129 | Cache-Control: ['no-cache, no-store'] |
130 | Content-Type: [application/json; charset=utf-8] | 130 | Content-Type: [application/json; charset=utf-8] |
@@ -135,8 +135,8 @@ interactions: | |||
135 | X-Download-Options: [noopen] | 135 | X-Download-Options: [noopen] |
136 | X-Frame-Options: [SAMEORIGIN] | 136 | X-Frame-Options: [SAMEORIGIN] |
137 | X-Permitted-Cross-Domain-Policies: [none] | 137 | X-Permitted-Cross-Domain-Policies: [none] |
138 | X-Request-Id: [a3397799-61cc-4864-a5e1-7b21ff5cfbeb] | 138 | X-Request-Id: [54c0bf7f-c4d8-465c-9c83-0ee3f75b50f4] |
139 | X-Runtime: ['0.048465'] | 139 | X-Runtime: ['0.034243'] |
140 | X-XSS-Protection: [1; mode=block] | 140 | X-XSS-Protection: [1; mode=block] |
141 | content-length: ['36'] | 141 | content-length: ['36'] |
142 | status: {code: 200, message: OK} | 142 | status: {code: 200, message: OK} |
@@ -163,8 +163,8 @@ interactions: | |||
163 | X-Download-Options: [noopen] | 163 | X-Download-Options: [noopen] |
164 | X-Frame-Options: [SAMEORIGIN] | 164 | X-Frame-Options: [SAMEORIGIN] |
165 | X-Permitted-Cross-Domain-Policies: [none] | 165 | X-Permitted-Cross-Domain-Policies: [none] |
166 | X-Request-Id: [6ded37ed-45cf-4a8e-a655-06978e7071cd] | 166 | X-Request-Id: [48f0e39b-d4d1-4fae-b131-b7da6d6d65f2] |
167 | X-Runtime: ['0.044624'] | 167 | X-Runtime: ['0.070666'] |
168 | X-XSS-Protection: [1; mode=block] | 168 | X-XSS-Protection: [1; mode=block] |
169 | content-length: ['211'] | 169 | content-length: ['211'] |
170 | status: {code: 200, message: OK} | 170 | status: {code: 200, message: OK} |
@@ -178,7 +178,7 @@ interactions: | |||
178 | Content-Length: ['0'] | 178 | Content-Length: ['0'] |
179 | User-Agent: [python-requests/2.18.4] | 179 | User-Agent: [python-requests/2.18.4] |
180 | method: DELETE | 180 | method: DELETE |
181 | uri: http://localhost:3000/api/v1/lists/24 | 181 | uri: http://localhost:3000/api/v1/lists/44 |
182 | response: | 182 | response: |
183 | body: {string: '{}'} | 183 | body: {string: '{}'} |
184 | headers: | 184 | headers: |
@@ -191,8 +191,8 @@ interactions: | |||
191 | X-Download-Options: [noopen] | 191 | X-Download-Options: [noopen] |
192 | X-Frame-Options: [SAMEORIGIN] | 192 | X-Frame-Options: [SAMEORIGIN] |
193 | X-Permitted-Cross-Domain-Policies: [none] | 193 | X-Permitted-Cross-Domain-Policies: [none] |
194 | X-Request-Id: [09671af5-e815-46c2-8930-fc6ec6a3b563] | 194 | X-Request-Id: [6a90dd91-5297-4036-ab47-84ce72a4f815] |
195 | X-Runtime: ['0.023473'] | 195 | X-Runtime: ['0.045643'] |
196 | X-XSS-Protection: [1; mode=block] | 196 | X-XSS-Protection: [1; mode=block] |
197 | content-length: ['2'] | 197 | content-length: ['2'] |
198 | status: {code: 200, message: OK} | 198 | status: {code: 200, message: OK} |