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