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_update.yaml
parentc0a0c8f517611d0026d6d37fbe7c57eae1f1a3bb (diff)
downloadmastodon.py-8d5fe70c7e52656b2f89d0acfb1aed23bf583041.tar.gz
Fix some bugs, update tests
Diffstat (limited to 'tests/cassettes/test_list_update.yaml')
-rw-r--r--tests/cassettes/test_list_update.yaml62
1 files changed, 31 insertions, 31 deletions
diff --git a/tests/cassettes/test_list_update.yaml b/tests/cassettes/test_list_update.yaml
index e2c64d6..c88ee17 100644
--- a/tests/cassettes/test_list_update.yaml
+++ b/tests/cassettes/test_list_update.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":"22","title":"ham burglars"}'} 15 body: {string: '{"id":"7","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/"0c98211766a89984581c09197affd90c"] 19 ETag: [W/"870043ec1a2c20d1ba7c19d5ab384317"]
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: [fe851633-a39e-4bbd-8ecd-665d08ad9d69] 24 X-Request-Id: [290ac0a3-c65f-44ed-9f5d-7fd62a015cd2]
25 X-Runtime: ['0.046417'] 25 X-Runtime: ['0.069685']
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: title=fry+kids 30 body: title=fry+kids
@@ -37,21 +37,21 @@ interactions:
37 Content-Type: [application/x-www-form-urlencoded] 37 Content-Type: [application/x-www-form-urlencoded]
38 User-Agent: [python-requests/2.9.1] 38 User-Agent: [python-requests/2.9.1]
39 method: PUT 39 method: PUT
40 uri: http://localhost:3000/api/v1/lists/22 40 uri: http://localhost:3000/api/v1/lists/7
41 response: 41 response:
42 body: {string: '{"id":"22","title":"fry kids"}'} 42 body: {string: '{"id":"7","title":"fry kids"}'}
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/"6dd7ff39115629170e5815c546666ab8"] 46 ETag: [W/"48f0fc792f3314e044a4865b2d749e7c"]
47 Transfer-Encoding: [chunked] 47 Transfer-Encoding: [chunked]
48 Vary: ['Accept-Encoding, Origin'] 48 Vary: ['Accept-Encoding, Origin']
49 X-Content-Type-Options: [nosniff] 49 X-Content-Type-Options: [nosniff]
50 X-Frame-Options: [SAMEORIGIN] 50 X-Frame-Options: [SAMEORIGIN]
51 X-Request-Id: [157f5470-3782-40e4-80ac-ea94f8e3f575] 51 X-Request-Id: [8cb403af-8a2d-46b9-b6d4-69d8b3b58e47]
52 X-Runtime: ['0.051260'] 52 X-Runtime: ['0.101008']
53 X-XSS-Protection: [1; mode=block] 53 X-XSS-Protection: [1; mode=block]
54 content-length: ['30'] 54 content-length: ['29']
55 status: {code: 200, message: OK} 55 status: {code: 200, message: OK}
56- request: 56- request:
57 body: null 57 body: null
@@ -64,19 +64,19 @@ interactions:
64 method: GET 64 method: GET
65 uri: http://localhost:3000/api/v1/lists 65 uri: http://localhost:3000/api/v1/lists
66 response: 66 response:
67 body: {string: '[{"id":"1","title":"ham burglars"},{"id":"22","title":"fry kids"}]'} 67 body: {string: '[{"id":"7","title":"fry kids"}]'}
68 headers: 68 headers:
69 Cache-Control: ['max-age=0, private, must-revalidate'] 69 Cache-Control: ['max-age=0, private, must-revalidate']
70 Content-Type: [application/json; charset=utf-8] 70 Content-Type: [application/json; charset=utf-8]
71 ETag: [W/"3a312ac5c7092d9a90693c236852fdc9"] 71 ETag: [W/"4a6d54cb4d48e4f703bc70876a952331"]
72 Transfer-Encoding: [chunked] 72 Transfer-Encoding: [chunked]
73 Vary: ['Accept-Encoding, Origin'] 73 Vary: ['Accept-Encoding, Origin']
74 X-Content-Type-Options: [nosniff] 74 X-Content-Type-Options: [nosniff]
75 X-Frame-Options: [SAMEORIGIN] 75 X-Frame-Options: [SAMEORIGIN]
76 X-Request-Id: [22dae45a-b92a-4ff0-b1a0-50ff690f429a] 76 X-Request-Id: [7a8af457-f11e-4728-8875-9dff908183c7]
77 X-Runtime: ['0.045067'] 77 X-Runtime: ['0.034727']
78 X-XSS-Protection: [1; mode=block] 78 X-XSS-Protection: [1; mode=block]
79 content-length: ['66'] 79 content-length: ['31']
80 status: {code: 200, message: OK} 80 status: {code: 200, message: OK}
81- request: 81- request:
82 body: null 82 body: null
@@ -89,19 +89,19 @@ interactions:
89 method: GET 89 method: GET
90 uri: http://localhost:3000/api/v1/lists 90 uri: http://localhost:3000/api/v1/lists
91 response: 91 response:
92 body: {string: '[{"id":"1","title":"ham burglars"},{"id":"22","title":"fry kids"}]'} 92 body: {string: '[{"id":"7","title":"fry kids"}]'}
93 headers: 93 headers:
94 Cache-Control: ['max-age=0, private, must-revalidate'] 94 Cache-Control: ['max-age=0, private, must-revalidate']
95 Content-Type: [application/json; charset=utf-8] 95 Content-Type: [application/json; charset=utf-8]
96 ETag: [W/"3a312ac5c7092d9a90693c236852fdc9"] 96 ETag: [W/"4a6d54cb4d48e4f703bc70876a952331"]
97 Transfer-Encoding: [chunked] 97 Transfer-Encoding: [chunked]
98 Vary: ['Accept-Encoding, Origin'] 98 Vary: ['Accept-Encoding, Origin']
99 X-Content-Type-Options: [nosniff] 99 X-Content-Type-Options: [nosniff]
100 X-Frame-Options: [SAMEORIGIN] 100 X-Frame-Options: [SAMEORIGIN]
101 X-Request-Id: [c4381d47-2ef7-40f8-ae75-ce8996886177] 101 X-Request-Id: [beca1ad4-72b5-4915-a4ae-19e8ef10e845]
102 X-Runtime: ['0.036421'] 102 X-Runtime: ['0.025595']
103 X-XSS-Protection: [1; mode=block] 103 X-XSS-Protection: [1; mode=block]
104 content-length: ['66'] 104 content-length: ['31']
105 status: {code: 200, message: OK} 105 status: {code: 200, message: OK}
106- request: 106- request:
107 body: null 107 body: null
@@ -112,21 +112,21 @@ interactions:
112 Connection: [keep-alive] 112 Connection: [keep-alive]
113 User-Agent: [python-requests/2.9.1] 113 User-Agent: [python-requests/2.9.1]
114 method: GET 114 method: GET
115 uri: http://localhost:3000/api/v1/lists/22 115 uri: http://localhost:3000/api/v1/lists/7
116 response: 116 response:
117 body: {string: '{"id":"22","title":"fry kids"}'} 117 body: {string: '{"id":"7","title":"fry kids"}'}
118 headers: 118 headers:
119 Cache-Control: ['max-age=0, private, must-revalidate'] 119 Cache-Control: ['max-age=0, private, must-revalidate']
120 Content-Type: [application/json; charset=utf-8] 120 Content-Type: [application/json; charset=utf-8]
121 ETag: [W/"6dd7ff39115629170e5815c546666ab8"] 121 ETag: [W/"48f0fc792f3314e044a4865b2d749e7c"]
122 Transfer-Encoding: [chunked] 122 Transfer-Encoding: [chunked]
123 Vary: ['Accept-Encoding, Origin'] 123 Vary: ['Accept-Encoding, Origin']
124 X-Content-Type-Options: [nosniff] 124 X-Content-Type-Options: [nosniff]
125 X-Frame-Options: [SAMEORIGIN] 125 X-Frame-Options: [SAMEORIGIN]
126 X-Request-Id: [3e821cd3-7c44-4e3a-8cdf-9fa498f0bb68] 126 X-Request-Id: [b4219f18-504e-4d22-ba8f-3f50019e3451]
127 X-Runtime: ['0.020432'] 127 X-Runtime: ['0.026199']
128 X-XSS-Protection: [1; mode=block] 128 X-XSS-Protection: [1; mode=block]
129 content-length: ['30'] 129 content-length: ['29']
130 status: {code: 200, message: OK} 130 status: {code: 200, message: OK}
131- request: 131- request:
132 body: null 132 body: null
@@ -138,19 +138,19 @@ interactions:
138 Content-Length: ['0'] 138 Content-Length: ['0']
139 User-Agent: [python-requests/2.9.1] 139 User-Agent: [python-requests/2.9.1]
140 method: DELETE 140 method: DELETE
141 uri: http://localhost:3000/api/v1/lists/22 141 uri: http://localhost:3000/api/v1/lists/7
142 response: 142 response:
143 body: {string: '{}'} 143 body: {string: '{}'}
144 headers: 144 headers:
145 Cache-Control: ['max-age=0, private, must-revalidate'] 145 Cache-Control: ['max-age=0, private, must-revalidate']
146 Content-Type: [application/json; charset=utf-8] 146 Content-Type: [application/json; charset=utf-8]
147 ETag: [W/"ee6751ce2dc32e165dd24aca071f6eed"] 147 ETag: [W/"a77455733b41870263bbeac3de0e0dac"]
148 Transfer-Encoding: [chunked] 148 Transfer-Encoding: [chunked]
149 Vary: ['Accept-Encoding, Origin'] 149 Vary: ['Accept-Encoding, Origin']
150 X-Content-Type-Options: [nosniff] 150 X-Content-Type-Options: [nosniff]
151 X-Frame-Options: [SAMEORIGIN] 151 X-Frame-Options: [SAMEORIGIN]
152 X-Request-Id: [a8576f90-288b-4271-af8a-9bcabf3e2df9] 152 X-Request-Id: [9c1553cd-8748-46a1-aaad-3dc009fb165b]
153 X-Runtime: ['0.032007'] 153 X-Runtime: ['0.041789']
154 X-XSS-Protection: [1; mode=block] 154 X-XSS-Protection: [1; mode=block]
155 content-length: ['2'] 155 content-length: ['2']
156 status: {code: 200, message: OK} 156 status: {code: 200, message: OK}
Powered by cgit v1.2.3 (git 2.41.0)