We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4ac2d66 commit 94d6c66Copy full SHA for 94d6c66
rootfs/api/tests/test_config.py
@@ -165,7 +165,8 @@ def test_response_data(self, mock_requests):
165
response = self.client.post(url, body)
166
for key in response.data:
167
self.assertIn(key, ['uuid', 'owner', 'created', 'updated', 'app', 'values', 'memory',
168
- 'cpu', 'tags', 'registry', 'healthcheck'])
+ 'cpu', 'tags', 'registry', 'healthcheck', 'lifecycle_post_start',
169
+ 'lifecycle_pre_stop'])
170
expected = {
171
'owner': self.user.username,
172
'app': app_id,
@@ -188,7 +189,8 @@ def test_response_data_types_converted(self, mock_requests):
188
189
self.assertEqual(response.status_code, 201, response.data)
190
191
192
193
194
195
196
0 commit comments