Browse Source

Merge "TrivialFix: Remove logging import unused"

Jenkins 2 years ago
parent
commit
deaf978163

+ 0
- 5
fuel_health/common/facts.py View File

@@ -17,11 +17,6 @@
17 17
 import os
18 18
 import yaml
19 19
 
20
-from fuel_health.common import log as logging
21
-
22
-
23
-LOG = logging.getLogger(__name__)
24
-
25 20
 
26 21
 class Facts:
27 22
     __default_config_path = '/var/lib/puppet/yaml/facts/'

+ 0
- 4
fuel_health/manager.py View File

@@ -16,13 +16,9 @@
16 16
 #    License for the specific language governing permissions and limitations
17 17
 #    under the License.
18 18
 
19
-from fuel_health.common import log as logging
20 19
 import fuel_health.config
21 20
 
22 21
 
23
-LOG = logging.getLogger(__name__)
24
-
25
-
26 22
 class Manager(object):
27 23
     """Base manager class
28 24
 

+ 0
- 4
fuel_health/tests/sanity/test_sanity_compute.py View File

@@ -12,12 +12,8 @@
12 12
 # License for the specific language governing permissions and limitations
13 13
 # under the License.
14 14
 
15
-import logging
16
-
17 15
 from fuel_health import nmanager
18 16
 
19
-LOG = logging.getLogger(__name__)
20
-
21 17
 
22 18
 class SanityComputeTest(nmanager.SanityChecksTest):
23 19
     """TestClass contains tests that check basic Compute functionality."""

+ 0
- 4
fuel_health/tests/sanity/test_sanity_glance.py View File

@@ -12,12 +12,8 @@
12 12
 # License for the specific language governing permissions and limitations
13 13
 # under the License.
14 14
 
15
-import logging
16
-
17 15
 from fuel_health import glancemanager
18 16
 
19
-LOG = logging.getLogger(__name__)
20
-
21 17
 
22 18
 class GlanceSanityTests(glancemanager.GlanceTest):
23 19
     """GlanceSanityTests contains verifications of basic Glance functionality.

+ 0
- 4
fuel_health/tests/sanity/test_sanity_heat.py View File

@@ -14,12 +14,8 @@
14 14
 # License for the specific language governing permissions and limitations
15 15
 # under the License.
16 16
 
17
-import logging
18
-
19 17
 from fuel_health import nmanager
20 18
 
21
-LOG = logging.getLogger(__name__)
22
-
23 19
 
24 20
 class SanityHeatTest(nmanager.SanityChecksTest):
25 21
     """Class contains tests that check basic Heat functionality.

+ 0
- 4
fuel_health/tests/sanity/test_sanity_identity.py View File

@@ -14,12 +14,8 @@
14 14
 # License for the specific language governing permissions and limitations
15 15
 # under the License.
16 16
 
17
-import logging
18
-
19 17
 from fuel_health import nmanager
20 18
 
21
-LOG = logging.getLogger(__name__)
22
-
23 19
 
24 20
 class SanityIdentityTest(nmanager.SanityChecksTest):
25 21
     """TestClass contains tests that check basic authentication functionality.

+ 0
- 4
fuel_health/tests/sanity/test_sanity_networking.py View File

@@ -14,12 +14,8 @@
14 14
 # License for the specific language governing permissions and limitations
15 15
 # under the License.
16 16
 
17
-import logging
18
-
19 17
 from fuel_health import nmanager
20 18
 
21
-LOG = logging.getLogger(__name__)
22
-
23 19
 
24 20
 class NetworksTest(nmanager.SanityChecksTest):
25 21
     """TestClass contains tests check base networking functionality."""

+ 0
- 5
fuel_health/tests/smoke/test_create_flavor.py View File

@@ -14,14 +14,9 @@
14 14
 # License for the specific language governing permissions and limitations
15 15
 # under the License.
16 16
 
17
-import logging
18
-
19 17
 from fuel_health import nmanager
20 18
 
21 19
 
22
-LOG = logging.getLogger(__name__)
23
-
24
-
25 20
 class FlavorsAdminTest(nmanager.SmokeChecksTest):
26 21
     """Tests for flavor creation that require admin privileges."""
27 22
 

+ 0
- 5
fuel_health/tests/tests_platform/test_heat.py View File

@@ -12,14 +12,9 @@
12 12
 # License for the specific language governing permissions and limitations
13 13
 # under the License.
14 14
 
15
-import logging
16
-
17 15
 from fuel_health import heatmanager
18 16
 
19 17
 
20
-LOG = logging.getLogger(__name__)
21
-
22
-
23 18
 class HeatSmokeTests(heatmanager.HeatBaseTest):
24 19
     """Test class verifies Heat API calls, rollback and
25 20
     autoscaling use-cases.

+ 0
- 3
fuel_plugin/ostf_adapter/nailgun_hooks.py View File

@@ -13,7 +13,6 @@
13 13
 #    under the License.
14 14
 
15 15
 from distutils import version
16
-import logging
17 16
 
18 17
 from sqlalchemy import create_engine
19 18
 from sqlalchemy.engine import reflection
@@ -24,8 +23,6 @@ from sqlalchemy import schema
24 23
 
25 24
 from fuel_plugin.ostf_adapter.storage import alembic_cli
26 25
 
27
-LOG = logging.getLogger(__name__)
28
-
29 26
 
30 27
 def _get_enums(conn):
31 28
     """Return names for db types.

+ 0
- 3
fuel_plugin/ostf_adapter/nose_plugin/nose_utils.py View File

@@ -14,7 +14,6 @@
14 14
 
15 15
 from distutils import version
16 16
 import itertools
17
-import logging
18 17
 import multiprocessing
19 18
 import os
20 19
 import re
@@ -28,8 +27,6 @@ try:
28 27
 except ImportError:
29 28
     from oslo_serialization import jsonutils
30 29
 
31
-LOG = logging.getLogger(__name__)
32
-
33 30
 
34 31
 def parse_json_file(file_path):
35 32
     current_directory = os.path.dirname(os.path.realpath(__file__))

+ 0
- 5
fuel_plugin/ostf_adapter/wsgi/controllers.py View File

@@ -12,8 +12,6 @@
12 12
 #    License for the specific language governing permissions and limitations
13 13
 #    under the License.
14 14
 
15
-import logging
16
-
17 15
 try:
18 16
     from oslo.config import cfg
19 17
 except ImportError:
@@ -34,9 +32,6 @@ from fuel_plugin.ostf_adapter import mixins
34 32
 from fuel_plugin.ostf_adapter.storage import models
35 33
 
36 34
 
37
-LOG = logging.getLogger(__name__)
38
-
39
-
40 35
 class BaseRestController(rest.RestController):
41 36
     def _handle_get(self, method, remainder, request=None):
42 37
         if len(remainder):

Loading…
Cancel
Save