Skip to content

Commit 94d6c66

Browse files
committed
Fixing the broken config api tests
1 parent 4ac2d66 commit 94d6c66

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

rootfs/api/tests/test_config.py

+4-2
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,8 @@ def test_response_data(self, mock_requests):
165165
response = self.client.post(url, body)
166166
for key in response.data:
167167
self.assertIn(key, ['uuid', 'owner', 'created', 'updated', 'app', 'values', 'memory',
168-
'cpu', 'tags', 'registry', 'healthcheck'])
168+
'cpu', 'tags', 'registry', 'healthcheck', 'lifecycle_post_start',
169+
'lifecycle_pre_stop'])
169170
expected = {
170171
'owner': self.user.username,
171172
'app': app_id,
@@ -188,7 +189,8 @@ def test_response_data_types_converted(self, mock_requests):
188189
self.assertEqual(response.status_code, 201, response.data)
189190
for key in response.data:
190191
self.assertIn(key, ['uuid', 'owner', 'created', 'updated', 'app', 'values', 'memory',
191-
'cpu', 'tags', 'registry', 'healthcheck'])
192+
'cpu', 'tags', 'registry', 'healthcheck', 'lifecycle_post_start',
193+
'lifecycle_pre_stop'])
192194
expected = {
193195
'owner': self.user.username,
194196
'app': app_id,

0 commit comments

Comments
 (0)