Browse Source

Fix gate failures by a new pycodestyle

pycodestyle 2.5.0 introduces E117 over-indented.
This commit fixes E117 errors.

Change-Id: I1e8fdfa95753bc144a987f989f93e75e95d94a30
tags/1.5.0
manchandavishal 4 months ago
parent
commit
d17cae6e77

+ 2
- 2
heat_dashboard/test/tests/api/test_heat_rest.py View File

@@ -56,7 +56,7 @@ class HeatRestTestCase(test.TestCase):
56 56
                          '{"items": [{"id": "1"}, {"id": "2"}]}')
57 57
         hc.service_list.assert_called_once_with(request)
58 58
         self.mock_is_service_enabled.assert_called_once_with(
59
-                request, 'orchestration')
59
+            request, 'orchestration')
60 60
 
61 61
     @test.create_mocks({api.base: ('is_service_enabled',)})
62 62
     def test_services_get_disabled(self):
@@ -67,4 +67,4 @@ class HeatRestTestCase(test.TestCase):
67 67
         response = heat.Services().get(request)
68 68
         self.assertStatusCode(response, 501)
69 69
         self.mock_is_service_enabled.assert_called_once_with(
70
-                request, 'orchestration')
70
+            request, 'orchestration')

+ 1
- 1
heat_dashboard/test/tests/content/test_resource_types.py View File

@@ -23,7 +23,7 @@ class ResourceTypesTests(test.TestCase):
23 23
     @test.create_mocks({api.heat: ('resource_types_list',)})
24 24
     def test_index(self):
25 25
         self.mock_resource_types_list.return_value = \
26
-                self.resource_types.list()
26
+            self.resource_types.list()
27 27
 
28 28
         res = self.client.get(
29 29
             reverse('horizon:project:resource_types:index'))

Loading…
Cancel
Save