aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLorenz Diener <[email protected]>2018-05-07 00:53:13 +0200
committerLorenz Diener <[email protected]>2018-05-07 00:53:13 +0200
commit8d5fe70c7e52656b2f89d0acfb1aed23bf583041 (patch)
treea210ef1ba6255d8f64fdd623de41f0e6931c4508 /tests/cassettes/test_list_create.yaml
parentc0a0c8f517611d0026d6d37fbe7c57eae1f1a3bb (diff)
downloadmastodon.py-8d5fe70c7e52656b2f89d0acfb1aed23bf583041.tar.gz
Fix some bugs, update tests
Diffstat (limited to 'tests/cassettes/test_list_create.yaml')
-rw-r--r--tests/cassettes/test_list_create.yaml28
1 files changed, 14 insertions, 14 deletions
diff --git a/tests/cassettes/test_list_create.yaml b/tests/cassettes/test_list_create.yaml
index 41c9d50..07932c2 100644
--- a/tests/cassettes/test_list_create.yaml
+++ b/tests/cassettes/test_list_create.yaml
@@ -12,19 +12,19 @@ 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":"21","title":"ham burglars"}'} 15 body: {string: '{"id":"6","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/"7a697af6c938508b5253601ebd4dd6e6"] 19 ETag: [W/"fae29f42dd15db5ff04ec5cb07d1afbf"]
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: [ace7486c-8c0b-46ef-8dc2-69719035824f] 24 X-Request-Id: [20ed0853-bc7e-4951-b7eb-b007d1c32237]
25 X-Runtime: ['0.030442'] 25 X-Runtime: ['0.049969']
26 X-XSS-Protection: [1; mode=block] 26 X-XSS-Protection: [1; mode=block]
27 content-length: ['34'] 27 content-length: ['33']
28 status: {code: 200, message: OK} 28 status: {code: 200, message: OK}
29- request: 29- request:
30 body: null 30 body: null
@@ -37,19 +37,19 @@ interactions:
37 method: GET 37 method: GET
38 uri: http://localhost:3000/api/v1/lists 38 uri: http://localhost:3000/api/v1/lists
39 response: 39 response:
40 body: {string: '[{"id":"1","title":"ham burglars"},{"id":"21","title":"ham burglars"}]'} 40 body: {string: '[{"id":"6","title":"ham burglars"}]'}
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/"158cecd920100143aaaaca0e264e3eff"] 44 ETag: [W/"ce5423a2fd0bcec59f9e4d00cdd762a8"]
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: [cb76cdf7-a8a4-47ab-b22d-8d605bfcb2e5] 49 X-Request-Id: [9fc27d93-1953-4987-a34e-6c518eda6925]
50 X-Runtime: ['0.019989'] 50 X-Runtime: ['0.044163']
51 X-XSS-Protection: [1; mode=block] 51 X-XSS-Protection: [1; mode=block]
52 content-length: ['70'] 52 content-length: ['35']
53 status: {code: 200, message: OK} 53 status: {code: 200, message: OK}
54- request: 54- request:
55 body: null 55 body: null
@@ -61,19 +61,19 @@ interactions:
61 Content-Length: ['0'] 61 Content-Length: ['0']
62 User-Agent: [python-requests/2.9.1] 62 User-Agent: [python-requests/2.9.1]
63 method: DELETE 63 method: DELETE
64 uri: http://localhost:3000/api/v1/lists/21 64 uri: http://localhost:3000/api/v1/lists/6
65 response: 65 response:
66 body: {string: '{}'} 66 body: {string: '{}'}
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/"517599317c4db2fd6c980b4f38eaa967"] 70 ETag: [W/"a77455733b41870263bbeac3de0e0dac"]
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: [82ba57ca-5026-403f-a024-8b33c87504a2] 75 X-Request-Id: [3f749997-5fae-4b1d-9563-ea45cbfb6a87]
76 X-Runtime: ['0.025599'] 76 X-Runtime: ['0.028318']
77 X-XSS-Protection: [1; mode=block] 77 X-XSS-Protection: [1; mode=block]
78 content-length: ['2'] 78 content-length: ['2']
79 status: {code: 200, message: OK} 79 status: {code: 200, message: OK}
Powered by cgit v1.2.3 (git 2.41.0)