TrivialFix: Remove logging import unused
This patch removes logging import unused in fuel_health/common/facts.py fuel_health/manager.py fuel_health/tests/sanity/*.py fuel_health/tests/smoke/test_create_flavor.py fuel_health/tests/tests_platform/test_heat.py fuel_plugin/ostf_adapter/nailgun_hooks.py fuel_plugin/ostf_adapter/nose_plugin/nose_utils.py fuel_plugin/ostf_adapter/wsgi/controllers.py Change-Id: Ic47ced019c06e45ba0c9b669989bae83ceb049d0
This commit is contained in:
parent
923c1231c4
commit
062cf1dcd2
|
@ -17,11 +17,6 @@
|
|||
import os
|
||||
import yaml
|
||||
|
||||
from fuel_health.common import log as logging
|
||||
|
||||
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
||||
|
||||
class Facts:
|
||||
__default_config_path = '/var/lib/puppet/yaml/facts/'
|
||||
|
|
|
@ -16,13 +16,9 @@
|
|||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
from fuel_health.common import log as logging
|
||||
import fuel_health.config
|
||||
|
||||
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
||||
|
||||
class Manager(object):
|
||||
"""Base manager class
|
||||
|
||||
|
|
|
@ -12,12 +12,8 @@
|
|||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
import logging
|
||||
|
||||
from fuel_health import nmanager
|
||||
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
||||
|
||||
class SanityComputeTest(nmanager.SanityChecksTest):
|
||||
"""TestClass contains tests that check basic Compute functionality."""
|
||||
|
|
|
@ -12,12 +12,8 @@
|
|||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
import logging
|
||||
|
||||
from fuel_health import glancemanager
|
||||
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
||||
|
||||
class GlanceSanityTests(glancemanager.GlanceTest):
|
||||
"""GlanceSanityTests contains verifications of basic Glance functionality.
|
||||
|
|
|
@ -14,12 +14,8 @@
|
|||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
import logging
|
||||
|
||||
from fuel_health import nmanager
|
||||
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
||||
|
||||
class SanityHeatTest(nmanager.SanityChecksTest):
|
||||
"""Class contains tests that check basic Heat functionality.
|
||||
|
|
|
@ -14,12 +14,8 @@
|
|||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
import logging
|
||||
|
||||
from fuel_health import nmanager
|
||||
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
||||
|
||||
class SanityIdentityTest(nmanager.SanityChecksTest):
|
||||
"""TestClass contains tests that check basic authentication functionality.
|
||||
|
|
|
@ -14,12 +14,8 @@
|
|||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
import logging
|
||||
|
||||
from fuel_health import nmanager
|
||||
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
||||
|
||||
class NetworksTest(nmanager.SanityChecksTest):
|
||||
"""TestClass contains tests check base networking functionality."""
|
||||
|
|
|
@ -14,14 +14,9 @@
|
|||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
import logging
|
||||
|
||||
from fuel_health import nmanager
|
||||
|
||||
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
||||
|
||||
class FlavorsAdminTest(nmanager.SmokeChecksTest):
|
||||
"""Tests for flavor creation that require admin privileges."""
|
||||
|
||||
|
|
|
@ -12,14 +12,9 @@
|
|||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
import logging
|
||||
|
||||
from fuel_health import heatmanager
|
||||
|
||||
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
||||
|
||||
class HeatSmokeTests(heatmanager.HeatBaseTest):
|
||||
"""Test class verifies Heat API calls, rollback and
|
||||
autoscaling use-cases.
|
||||
|
|
|
@ -13,7 +13,6 @@
|
|||
# under the License.
|
||||
|
||||
from distutils import version
|
||||
import logging
|
||||
|
||||
from sqlalchemy import create_engine
|
||||
from sqlalchemy.engine import reflection
|
||||
|
@ -24,8 +23,6 @@ from sqlalchemy import schema
|
|||
|
||||
from fuel_plugin.ostf_adapter.storage import alembic_cli
|
||||
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
||||
|
||||
def _get_enums(conn):
|
||||
"""Return names for db types.
|
||||
|
|
|
@ -14,7 +14,6 @@
|
|||
|
||||
from distutils import version
|
||||
import itertools
|
||||
import logging
|
||||
import multiprocessing
|
||||
import os
|
||||
import re
|
||||
|
@ -28,8 +27,6 @@ try:
|
|||
except ImportError:
|
||||
from oslo_serialization import jsonutils
|
||||
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
||||
|
||||
def parse_json_file(file_path):
|
||||
current_directory = os.path.dirname(os.path.realpath(__file__))
|
||||
|
|
|
@ -12,8 +12,6 @@
|
|||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
import logging
|
||||
|
||||
try:
|
||||
from oslo.config import cfg
|
||||
except ImportError:
|
||||
|
@ -34,9 +32,6 @@ from fuel_plugin.ostf_adapter import mixins
|
|||
from fuel_plugin.ostf_adapter.storage import models
|
||||
|
||||
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
||||
|
||||
class BaseRestController(rest.RestController):
|
||||
def _handle_get(self, method, remainder, request=None):
|
||||
if len(remainder):
|
||||
|
|
Loading…
Reference in New Issue