Skip to content

Commit 66977d1

Browse files
committed
ref(tests): split out tests from the config test into their own smaller tests
1 parent 25d4b9b commit 66977d1

6 files changed

Lines changed: 685 additions & 593 deletions

File tree

rootfs/api/tests/test_app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ def test_app(self, mock_requests):
6868

6969
def test_response_data(self, mock_requests):
7070
"""Test that the serialized response contains only relevant data."""
71-
body = {'id':'app-{}'.format(random.randrange(1000, 10000))}
71+
body = {'id': 'app-{}'.format(random.randrange(1000, 10000))}
7272
response = self.client.post('/v2/apps', body)
7373
for key in response.data:
7474
self.assertIn(key, ['uuid', 'created', 'updated', 'id', 'owner', 'structure'])

0 commit comments

Comments
 (0)