diff --git a/muranodashboard/tests/test_fields.py b/muranodashboard/tests/test_fields.py index 31b6985f6..0756ee37d 100644 --- a/muranodashboard/tests/test_fields.py +++ b/muranodashboard/tests/test_fields.py @@ -38,7 +38,7 @@ class TestFlavorField(helpers.APIMockTestCase): mock_nova.novaclient().flavors.list.return_value = [ FlavorFlave('id1', 'small', vcpus=1, disk=50, ram=1000), FlavorFlave('id2', 'medium', vcpus=2, disk=100, ram=2000), - FlavorFlave('id3', 'large', vcpus=3, disk=750, ram=4000)] + FlavorFlave('id3', 'large', vcpus=3, disk=750, ram=4000)] f = fields.FlavorChoiceField() initial_request = {} @@ -54,7 +54,7 @@ class TestFlavorField(helpers.APIMockTestCase): mock_nova.novaclient().flavors.list.return_value = [ FlavorFlave('id2', 'medium', vcpus=2, disk=100, ram=2000), - FlavorFlave('id3', 'large', vcpus=3, disk=750, ram=4000)] + FlavorFlave('id3', 'large', vcpus=3, disk=750, ram=4000)] f = fields.FlavorChoiceField(requirements={'min_vcpus': 2}) f.update({}, self.request) diff --git a/muranodashboard/tests/unit/dynamic_ui/test_helpers.py b/muranodashboard/tests/unit/dynamic_ui/test_helpers.py index d223ffea3..4cf365143 100644 --- a/muranodashboard/tests/unit/dynamic_ui/test_helpers.py +++ b/muranodashboard/tests/unit/dynamic_ui/test_helpers.py @@ -47,8 +47,7 @@ class TestHelper(testtools.TestCase): def test_insert_hidden_ids(self): app_dict = {'?': { 'type': 'test.App', - 'id': '123' - } + 'id': '123'} } app_list = [1, 2, 3, 4] diff --git a/muranodashboard/tests/unit/environments/test_api.py b/muranodashboard/tests/unit/environments/test_api.py index f8fb132dc..4664e18d7 100644 --- a/muranodashboard/tests/unit/environments/test_api.py +++ b/muranodashboard/tests/unit/environments/test_api.py @@ -273,7 +273,7 @@ class TestEnvironmentsAPI(helpers.APIMockTestCase): mock_client = mock_api.muranoclient(mock.Mock()) mock_client.environments.get.return_value = mock_env mock_client.environments.last_status.return_value = { - 'foo_service': mock.Mock(text='foo'*100, + 'foo_service': mock.Mock(text='foo' * 100, updated='foo_time'), 'bar_service': None }