Merge "Trivial: Remove unused logging import"
This commit is contained in:
commit
578a750181
@ -26,7 +26,6 @@ from neutron.db import servicetype_db as st_db
|
||||
from neutron import manager
|
||||
from neutron.plugins.common import constants
|
||||
from oslo_db import exception
|
||||
from oslo_log import log as logging
|
||||
from oslo_utils import excutils
|
||||
from oslo_utils import uuidutils
|
||||
import sqlalchemy as sa
|
||||
@ -38,8 +37,6 @@ from neutron_lbaas._i18n import _LE
|
||||
from neutron_lbaas.extensions import loadbalancer
|
||||
from neutron_lbaas.services.loadbalancer import constants as lb_const
|
||||
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
||||
|
||||
class SessionPersistence(model_base.BASEV2):
|
||||
|
||||
|
@ -17,7 +17,6 @@ from neutron.common import rpc as n_rpc
|
||||
from neutron.db import agents_db
|
||||
from neutron.services import provider_configuration as provconf
|
||||
from oslo_config import cfg
|
||||
from oslo_log import log as logging
|
||||
import oslo_messaging as messaging
|
||||
from oslo_utils import importutils
|
||||
|
||||
@ -27,7 +26,6 @@ from neutron_lbaas.extensions import lbaas_agentschedulerv2
|
||||
from neutron_lbaas.services.loadbalancer import constants as lb_const
|
||||
from neutron_lbaas.services.loadbalancer import data_models
|
||||
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
||||
LB_SCHEDULERS = 'loadbalancer_schedulers'
|
||||
|
||||
|
@ -15,7 +15,6 @@
|
||||
|
||||
import copy
|
||||
|
||||
from oslo_log import log as logging
|
||||
from tempest_lib.services.identity.v2.token_client import TokenClientJSON
|
||||
from tempest_lib.services.identity.v3.token_client import V3TokenClientJSON
|
||||
|
||||
@ -137,7 +136,6 @@ from neutron_lbaas.tests.tempest.lib.services.volume.v2.json.snapshots_client im
|
||||
from neutron_lbaas.tests.tempest.lib.services.volume.v2.json.volumes_client import VolumesV2ClientJSON
|
||||
|
||||
CONF = config.CONF
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
||||
|
||||
class Manager(manager.Manager):
|
||||
|
@ -14,7 +14,6 @@
|
||||
|
||||
import abc
|
||||
|
||||
from oslo_log import log as logging
|
||||
import six
|
||||
from tempest_lib import auth
|
||||
|
||||
@ -22,7 +21,6 @@ from neutron_lbaas.tests.tempest.lib import config
|
||||
from neutron_lbaas.tests.tempest.lib import exceptions
|
||||
|
||||
CONF = config.CONF
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
||||
# Type of credentials available from configuration
|
||||
CREDENTIAL_TYPES = {
|
||||
|
@ -18,10 +18,6 @@ import functools
|
||||
|
||||
import jsonschema
|
||||
|
||||
from oslo_log import log as logging
|
||||
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
||||
|
||||
def _check_for_expected_result(name, schema):
|
||||
expected_result = None
|
||||
|
@ -15,13 +15,9 @@
|
||||
|
||||
import copy
|
||||
|
||||
from oslo_log import log as logging
|
||||
|
||||
import neutron_lbaas.tests.tempest.lib.common.generator.base_generator as base
|
||||
import neutron_lbaas.tests.tempest.lib.common.generator.valid_generator as valid
|
||||
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
||||
|
||||
class NegativeTestGenerator(base.BasicGeneratorSet):
|
||||
@base.generator_type("string")
|
||||
|
@ -13,14 +13,9 @@
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
from oslo_log import log as logging
|
||||
|
||||
import neutron_lbaas.tests.tempest.lib.common.generator.base_generator as base
|
||||
|
||||
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
||||
|
||||
class ValidTestGenerator(base.BasicGeneratorSet):
|
||||
@base.generator_type("string")
|
||||
@base.simple_generator
|
||||
|
@ -14,7 +14,6 @@
|
||||
# under the License.
|
||||
|
||||
import netaddr
|
||||
from oslo_log import log as logging
|
||||
from tempest_lib.common.utils import data_utils
|
||||
from tempest_lib import exceptions as lib_exc
|
||||
|
||||
@ -25,8 +24,6 @@ import neutron_lbaas.tests.tempest.lib.test
|
||||
|
||||
CONF = config.CONF
|
||||
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
||||
|
||||
class BaseNetworkTest(neutron_lbaas.tests.tempest.lib.test.BaseTestCase):
|
||||
|
||||
|
@ -13,8 +13,6 @@
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
from oslo_log import log as logging
|
||||
|
||||
from neutron_lbaas.tests.tempest.lib.common import cred_provider
|
||||
from neutron_lbaas.tests.tempest.lib import config
|
||||
from neutron_lbaas.tests.tempest.lib import manager
|
||||
@ -41,7 +39,6 @@ from neutron_lbaas.tests.tempest.lib.services.network.json.network_client import
|
||||
|
||||
|
||||
CONF = config.CONF
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
||||
|
||||
class Manager(manager.Manager):
|
||||
|
@ -12,7 +12,6 @@
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
from oslo_log import log as logging
|
||||
from oslo_utils import uuidutils
|
||||
from tempest_lib import exceptions as ex
|
||||
|
||||
@ -23,8 +22,6 @@ from neutron_lbaas.tests.tempest.v2.api import base
|
||||
|
||||
CONF = config.CONF
|
||||
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
||||
|
||||
class TestHealthMonitors(base.BaseAdminTestCase):
|
||||
|
||||
|
@ -13,7 +13,6 @@
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
from oslo_log import log as logging
|
||||
from tempest_lib.common.utils import data_utils
|
||||
from tempest_lib import exceptions as ex
|
||||
|
||||
@ -23,8 +22,6 @@ from neutron_lbaas.tests.tempest.v2.api import base
|
||||
|
||||
CONF = config.CONF
|
||||
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
||||
|
||||
class ListenersTestJSON(base.BaseAdminTestCase):
|
||||
|
||||
|
@ -13,7 +13,6 @@
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
from oslo_log import log as logging
|
||||
from tempest_lib.common.utils import data_utils
|
||||
from tempest_lib import exceptions
|
||||
|
||||
@ -23,8 +22,6 @@ from neutron_lbaas.tests.tempest.v2.api import base
|
||||
|
||||
CONF = config.CONF
|
||||
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
||||
|
||||
class ListenersTestJSON(base.BaseTestCase):
|
||||
|
||||
|
@ -12,7 +12,6 @@
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
from oslo_log import log as logging
|
||||
from tempest_lib.common.utils import data_utils
|
||||
from tempest_lib import exceptions as ex
|
||||
|
||||
@ -22,8 +21,6 @@ from neutron_lbaas.tests.tempest.v2.api import base
|
||||
|
||||
CONF = config.CONF
|
||||
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
||||
|
||||
class LoadBalancersTestJSON(base.BaseAdminTestCase):
|
||||
|
||||
|
@ -15,7 +15,6 @@
|
||||
|
||||
from netaddr import IPAddress
|
||||
|
||||
from oslo_log import log as logging
|
||||
from tempest_lib.common.utils import data_utils
|
||||
from tempest_lib import exceptions
|
||||
|
||||
@ -25,8 +24,6 @@ from neutron_lbaas.tests.tempest.v2.api import base
|
||||
|
||||
CONF = config.CONF
|
||||
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
||||
|
||||
class LoadBalancersTestJSON(base.BaseTestCase):
|
||||
|
||||
|
@ -13,7 +13,6 @@
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
from oslo_log import log as logging
|
||||
from tempest_lib.common.utils import data_utils
|
||||
from tempest_lib import exceptions as ex
|
||||
|
||||
@ -22,8 +21,6 @@ from neutron_lbaas.tests.tempest.lib import test
|
||||
from neutron_lbaas.tests.tempest.v2.api import base
|
||||
CONF = config.CONF
|
||||
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
||||
|
||||
class MemberTestJSON(base.BaseAdminTestCase):
|
||||
"""
|
||||
|
@ -13,7 +13,6 @@
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
from oslo_log import log as logging
|
||||
from tempest_lib.common.utils import data_utils
|
||||
from tempest_lib import exceptions as ex
|
||||
|
||||
@ -23,8 +22,6 @@ from neutron_lbaas.tests.tempest.v2.api import base
|
||||
|
||||
CONF = config.CONF
|
||||
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
||||
|
||||
class MemberTestJSON(base.BaseTestCase):
|
||||
|
||||
|
@ -14,7 +14,6 @@
|
||||
|
||||
import os
|
||||
|
||||
from oslo_log import log as logging
|
||||
from tempest_lib.common.utils import data_utils
|
||||
import testscenarios
|
||||
|
||||
@ -25,7 +24,6 @@ from neutron_lbaas.tests.tempest.v2.api import base
|
||||
|
||||
CONF = config.CONF
|
||||
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
||||
# Use local tempest conf if one is available.
|
||||
# This usually means we're running tests outside of devstack
|
||||
|
@ -12,7 +12,6 @@
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
from oslo_log import log as logging
|
||||
from tempest_lib import decorators
|
||||
import testscenarios
|
||||
|
||||
@ -21,8 +20,6 @@ from neutron_lbaas.tests.tempest.v2.ddt import base_ddt
|
||||
|
||||
CONF = config.CONF
|
||||
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
||||
scenario_lb_T = ('lb_T', {'lb_flag': True})
|
||||
scenario_lb_F = ('lb_F', {'lb_flag': False})
|
||||
|
||||
|
@ -12,7 +12,6 @@
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
from oslo_log import log as logging
|
||||
import testscenarios
|
||||
|
||||
from neutron_lbaas.tests.tempest.lib import config
|
||||
@ -20,7 +19,6 @@ from neutron_lbaas.tests.tempest.v2.ddt import base_ddt
|
||||
|
||||
CONF = config.CONF
|
||||
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
||||
"""
|
||||
Tests the following operations in the Neutron-LBaaS API using the
|
||||
|
@ -12,7 +12,6 @@
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
from oslo_log import log as logging
|
||||
import testscenarios
|
||||
|
||||
from neutron_lbaas.tests.tempest.lib import config
|
||||
@ -20,7 +19,6 @@ from neutron_lbaas.tests.tempest.v2.ddt import base_ddt
|
||||
|
||||
CONF = config.CONF
|
||||
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
||||
"""
|
||||
Tests the following operations in the Neutron-LBaaS API using the
|
||||
|
Loading…
Reference in New Issue
Block a user