diff --git a/heat_dashboard/test/tests/api/test_heat_rest.py b/heat_dashboard/test/tests/api/test_heat_rest.py index ca731dd9..bc89d7c2 100644 --- a/heat_dashboard/test/tests/api/test_heat_rest.py +++ b/heat_dashboard/test/tests/api/test_heat_rest.py @@ -56,7 +56,7 @@ class HeatRestTestCase(test.TestCase): '{"items": [{"id": "1"}, {"id": "2"}]}') hc.service_list.assert_called_once_with(request) self.mock_is_service_enabled.assert_called_once_with( - request, 'orchestration') + request, 'orchestration') @test.create_mocks({api.base: ('is_service_enabled',)}) def test_services_get_disabled(self): @@ -67,4 +67,4 @@ class HeatRestTestCase(test.TestCase): response = heat.Services().get(request) self.assertStatusCode(response, 501) self.mock_is_service_enabled.assert_called_once_with( - request, 'orchestration') + request, 'orchestration') diff --git a/heat_dashboard/test/tests/content/test_resource_types.py b/heat_dashboard/test/tests/content/test_resource_types.py index 0419d2bb..235e47f7 100644 --- a/heat_dashboard/test/tests/content/test_resource_types.py +++ b/heat_dashboard/test/tests/content/test_resource_types.py @@ -23,7 +23,7 @@ class ResourceTypesTests(test.TestCase): @test.create_mocks({api.heat: ('resource_types_list',)}) def test_index(self): self.mock_resource_types_list.return_value = \ - self.resource_types.list() + self.resource_types.list() res = self.client.get( reverse('horizon:project:resource_types:index'))