diff options
author | Lorenz Diener <[email protected]> | 2019-04-27 21:04:06 +0200 |
---|---|---|
committer | Lorenz Diener <[email protected]> | 2019-04-27 21:04:06 +0200 |
commit | e3936649745a627fa2c31fc7b8602793b7d6027b (patch) | |
tree | c478eb7f45acbfe63faec6151a23658dfc0da3e6 /tests/cassettes/test_list_update.yaml | |
parent | c1418e9f3f37319d5142e0fa058e2eab434c4e5d (diff) | |
download | mastodon.py-e3936649745a627fa2c31fc7b8602793b7d6027b.tar.gz |
Test fixups and small 2.8 fixes
Pagination backwards is broken presently.
Diffstat (limited to 'tests/cassettes/test_list_update.yaml')
-rw-r--r-- | tests/cassettes/test_list_update.yaml | 52 |
1 files changed, 26 insertions, 26 deletions
diff --git a/tests/cassettes/test_list_update.yaml b/tests/cassettes/test_list_update.yaml index 9424503..29561a0 100644 --- a/tests/cassettes/test_list_update.yaml +++ b/tests/cassettes/test_list_update.yaml | |||
@@ -12,11 +12,11 @@ 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":"15","title":"ham burglars"}'} | 15 | body: {string: '{"id":"12","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/"be300644601d64a748660907d23609f0"] | 19 | ETag: [W/"74769f86e8fae8a99d2bd243cebde639"] |
20 | Referrer-Policy: [strict-origin-when-cross-origin] | 20 | Referrer-Policy: [strict-origin-when-cross-origin] |
21 | Transfer-Encoding: [chunked] | 21 | Transfer-Encoding: [chunked] |
22 | Vary: ['Accept-Encoding, Origin'] | 22 | Vary: ['Accept-Encoding, Origin'] |
@@ -24,8 +24,8 @@ interactions: | |||
24 | X-Download-Options: [noopen] | 24 | X-Download-Options: [noopen] |
25 | X-Frame-Options: [SAMEORIGIN] | 25 | X-Frame-Options: [SAMEORIGIN] |
26 | X-Permitted-Cross-Domain-Policies: [none] | 26 | X-Permitted-Cross-Domain-Policies: [none] |
27 | X-Request-Id: [62160ec6-96db-4501-a2df-434b0cd27bfa] | 27 | X-Request-Id: [3336c659-4139-4b86-ad79-14f5b94db0c0] |
28 | X-Runtime: ['0.031089'] | 28 | X-Runtime: ['0.022639'] |
29 | X-XSS-Protection: [1; mode=block] | 29 | X-XSS-Protection: [1; mode=block] |
30 | content-length: ['34'] | 30 | content-length: ['34'] |
31 | status: {code: 200, message: OK} | 31 | status: {code: 200, message: OK} |
@@ -40,13 +40,13 @@ interactions: | |||
40 | Content-Type: [application/x-www-form-urlencoded] | 40 | Content-Type: [application/x-www-form-urlencoded] |
41 | User-Agent: [python-requests/2.18.4] | 41 | User-Agent: [python-requests/2.18.4] |
42 | method: PUT | 42 | method: PUT |
43 | uri: http://localhost:3000/api/v1/lists/15 | 43 | uri: http://localhost:3000/api/v1/lists/12 |
44 | response: | 44 | response: |
45 | body: {string: '{"id":"15","title":"fry kids"}'} | 45 | body: {string: '{"id":"12","title":"fry kids"}'} |
46 | headers: | 46 | headers: |
47 | Cache-Control: ['max-age=0, private, must-revalidate'] | 47 | Cache-Control: ['max-age=0, private, must-revalidate'] |
48 | Content-Type: [application/json; charset=utf-8] | 48 | Content-Type: [application/json; charset=utf-8] |
49 | ETag: [W/"7c5abd06c9bf08b86e6b8584b43da8e1"] | 49 | ETag: [W/"7eb040185722ff1421698e759173da1e"] |
50 | Referrer-Policy: [strict-origin-when-cross-origin] | 50 | Referrer-Policy: [strict-origin-when-cross-origin] |
51 | Transfer-Encoding: [chunked] | 51 | Transfer-Encoding: [chunked] |
52 | Vary: ['Accept-Encoding, Origin'] | 52 | Vary: ['Accept-Encoding, Origin'] |
@@ -54,8 +54,8 @@ interactions: | |||
54 | X-Download-Options: [noopen] | 54 | X-Download-Options: [noopen] |
55 | X-Frame-Options: [SAMEORIGIN] | 55 | X-Frame-Options: [SAMEORIGIN] |
56 | X-Permitted-Cross-Domain-Policies: [none] | 56 | X-Permitted-Cross-Domain-Policies: [none] |
57 | X-Request-Id: [ce929850-6ae9-4190-8845-bef516d0db4f] | 57 | X-Request-Id: [2fd73526-6fe2-46a0-98ec-8d8c2edb6f38] |
58 | X-Runtime: ['0.026406'] | 58 | X-Runtime: ['0.031404'] |
59 | X-XSS-Protection: [1; mode=block] | 59 | X-XSS-Protection: [1; mode=block] |
60 | content-length: ['30'] | 60 | content-length: ['30'] |
61 | status: {code: 200, message: OK} | 61 | status: {code: 200, message: OK} |
@@ -70,11 +70,11 @@ interactions: | |||
70 | method: GET | 70 | method: GET |
71 | uri: http://localhost:3000/api/v1/lists | 71 | uri: http://localhost:3000/api/v1/lists |
72 | response: | 72 | response: |
73 | body: {string: '[{"id":"15","title":"fry kids"}]'} | 73 | body: {string: '[{"id":"12","title":"fry kids"}]'} |
74 | headers: | 74 | headers: |
75 | Cache-Control: ['max-age=0, private, must-revalidate'] | 75 | Cache-Control: ['max-age=0, private, must-revalidate'] |
76 | Content-Type: [application/json; charset=utf-8] | 76 | Content-Type: [application/json; charset=utf-8] |
77 | ETag: [W/"d44746868c766be7ffbbcf4418dc6012"] | 77 | ETag: [W/"46d32f4b243293ec2f9f8e32432a5e31"] |
78 | Referrer-Policy: [strict-origin-when-cross-origin] | 78 | Referrer-Policy: [strict-origin-when-cross-origin] |
79 | Transfer-Encoding: [chunked] | 79 | Transfer-Encoding: [chunked] |
80 | Vary: ['Accept-Encoding, Origin'] | 80 | Vary: ['Accept-Encoding, Origin'] |
@@ -82,8 +82,8 @@ interactions: | |||
82 | X-Download-Options: [noopen] | 82 | X-Download-Options: [noopen] |
83 | X-Frame-Options: [SAMEORIGIN] | 83 | X-Frame-Options: [SAMEORIGIN] |
84 | X-Permitted-Cross-Domain-Policies: [none] | 84 | X-Permitted-Cross-Domain-Policies: [none] |
85 | X-Request-Id: [8349c616-f910-4d1d-9e86-fcf80614913f] | 85 | X-Request-Id: [7c18b9b4-74b1-4814-8baf-5222027d98a7] |
86 | X-Runtime: ['0.021217'] | 86 | X-Runtime: ['0.015704'] |
87 | X-XSS-Protection: [1; mode=block] | 87 | X-XSS-Protection: [1; mode=block] |
88 | content-length: ['32'] | 88 | content-length: ['32'] |
89 | status: {code: 200, message: OK} | 89 | status: {code: 200, message: OK} |
@@ -98,11 +98,11 @@ interactions: | |||
98 | method: GET | 98 | method: GET |
99 | uri: http://localhost:3000/api/v1/lists | 99 | uri: http://localhost:3000/api/v1/lists |
100 | response: | 100 | response: |
101 | body: {string: '[{"id":"15","title":"fry kids"}]'} | 101 | body: {string: '[{"id":"12","title":"fry kids"}]'} |
102 | headers: | 102 | headers: |
103 | Cache-Control: ['max-age=0, private, must-revalidate'] | 103 | Cache-Control: ['max-age=0, private, must-revalidate'] |
104 | Content-Type: [application/json; charset=utf-8] | 104 | Content-Type: [application/json; charset=utf-8] |
105 | ETag: [W/"d44746868c766be7ffbbcf4418dc6012"] | 105 | ETag: [W/"46d32f4b243293ec2f9f8e32432a5e31"] |
106 | Referrer-Policy: [strict-origin-when-cross-origin] | 106 | Referrer-Policy: [strict-origin-when-cross-origin] |
107 | Transfer-Encoding: [chunked] | 107 | Transfer-Encoding: [chunked] |
108 | Vary: ['Accept-Encoding, Origin'] | 108 | Vary: ['Accept-Encoding, Origin'] |
@@ -110,8 +110,8 @@ interactions: | |||
110 | X-Download-Options: [noopen] | 110 | X-Download-Options: [noopen] |
111 | X-Frame-Options: [SAMEORIGIN] | 111 | X-Frame-Options: [SAMEORIGIN] |
112 | X-Permitted-Cross-Domain-Policies: [none] | 112 | X-Permitted-Cross-Domain-Policies: [none] |
113 | X-Request-Id: [6b53d39e-adb6-4ceb-ae6d-6179932bfdb2] | 113 | X-Request-Id: [cda72984-c48d-4b43-ae0f-a7c7572e86c6] |
114 | X-Runtime: ['0.019543'] | 114 | X-Runtime: ['0.015326'] |
115 | X-XSS-Protection: [1; mode=block] | 115 | X-XSS-Protection: [1; mode=block] |
116 | content-length: ['32'] | 116 | content-length: ['32'] |
117 | status: {code: 200, message: OK} | 117 | status: {code: 200, message: OK} |
@@ -124,13 +124,13 @@ interactions: | |||
124 | Connection: [keep-alive] | 124 | Connection: [keep-alive] |
125 | User-Agent: [python-requests/2.18.4] | 125 | User-Agent: [python-requests/2.18.4] |
126 | method: GET | 126 | method: GET |
127 | uri: http://localhost:3000/api/v1/lists/15 | 127 | uri: http://localhost:3000/api/v1/lists/12 |
128 | response: | 128 | response: |
129 | body: {string: '{"id":"15","title":"fry kids"}'} | 129 | body: {string: '{"id":"12","title":"fry kids"}'} |
130 | headers: | 130 | headers: |
131 | Cache-Control: ['max-age=0, private, must-revalidate'] | 131 | Cache-Control: ['max-age=0, private, must-revalidate'] |
132 | Content-Type: [application/json; charset=utf-8] | 132 | Content-Type: [application/json; charset=utf-8] |
133 | ETag: [W/"7c5abd06c9bf08b86e6b8584b43da8e1"] | 133 | ETag: [W/"7eb040185722ff1421698e759173da1e"] |
134 | Referrer-Policy: [strict-origin-when-cross-origin] | 134 | Referrer-Policy: [strict-origin-when-cross-origin] |
135 | Transfer-Encoding: [chunked] | 135 | Transfer-Encoding: [chunked] |
136 | Vary: ['Accept-Encoding, Origin'] | 136 | Vary: ['Accept-Encoding, Origin'] |
@@ -138,8 +138,8 @@ interactions: | |||
138 | X-Download-Options: [noopen] | 138 | X-Download-Options: [noopen] |
139 | X-Frame-Options: [SAMEORIGIN] | 139 | X-Frame-Options: [SAMEORIGIN] |
140 | X-Permitted-Cross-Domain-Policies: [none] | 140 | X-Permitted-Cross-Domain-Policies: [none] |
141 | X-Request-Id: [f32d6a65-ac69-4b9a-be14-cf10ca6867a2] | 141 | X-Request-Id: [f455489c-7149-4897-8d06-c705784f6b02] |
142 | X-Runtime: ['0.023812'] | 142 | X-Runtime: ['0.016879'] |
143 | X-XSS-Protection: [1; mode=block] | 143 | X-XSS-Protection: [1; mode=block] |
144 | content-length: ['30'] | 144 | content-length: ['30'] |
145 | status: {code: 200, message: OK} | 145 | status: {code: 200, message: OK} |
@@ -153,13 +153,13 @@ interactions: | |||
153 | Content-Length: ['0'] | 153 | Content-Length: ['0'] |
154 | User-Agent: [python-requests/2.18.4] | 154 | User-Agent: [python-requests/2.18.4] |
155 | method: DELETE | 155 | method: DELETE |
156 | uri: http://localhost:3000/api/v1/lists/15 | 156 | uri: http://localhost:3000/api/v1/lists/12 |
157 | response: | 157 | response: |
158 | body: {string: '{}'} | 158 | body: {string: '{}'} |
159 | headers: | 159 | headers: |
160 | Cache-Control: ['max-age=0, private, must-revalidate'] | 160 | Cache-Control: ['max-age=0, private, must-revalidate'] |
161 | Content-Type: [application/json; charset=utf-8] | 161 | Content-Type: [application/json; charset=utf-8] |
162 | ETag: [W/"1117e5398aa3b3d23877677b5f948531"] | 162 | ETag: [W/"f7218fbcd1fb889396566736881b9808"] |
163 | Referrer-Policy: [strict-origin-when-cross-origin] | 163 | Referrer-Policy: [strict-origin-when-cross-origin] |
164 | Transfer-Encoding: [chunked] | 164 | Transfer-Encoding: [chunked] |
165 | Vary: ['Accept-Encoding, Origin'] | 165 | Vary: ['Accept-Encoding, Origin'] |
@@ -167,8 +167,8 @@ interactions: | |||
167 | X-Download-Options: [noopen] | 167 | X-Download-Options: [noopen] |
168 | X-Frame-Options: [SAMEORIGIN] | 168 | X-Frame-Options: [SAMEORIGIN] |
169 | X-Permitted-Cross-Domain-Policies: [none] | 169 | X-Permitted-Cross-Domain-Policies: [none] |
170 | X-Request-Id: [88d1d200-370d-43f3-8bc3-0b68aff372be] | 170 | X-Request-Id: [a99bc633-28e3-47db-8c9d-a773d015b25d] |
171 | X-Runtime: ['0.035573'] | 171 | X-Runtime: ['0.028553'] |
172 | X-XSS-Protection: [1; mode=block] | 172 | X-XSS-Protection: [1; mode=block] |
173 | content-length: ['2'] | 173 | content-length: ['2'] |
174 | status: {code: 200, message: OK} | 174 | status: {code: 200, message: OK} |