Remove unused config.CONF
This is to remove unused config.CONF to keep code clean. Change-Id: I062be26814b7265904ab5a3ae478250fb3bc0a0d
This commit is contained in:
parent
9144a05a87
commit
2354ea6034
@ -15,11 +15,8 @@
|
||||
|
||||
from tempest.api.compute import base
|
||||
from tempest.common import waiters
|
||||
from tempest import config
|
||||
from tempest.lib import decorators
|
||||
|
||||
CONF = config.CONF
|
||||
|
||||
|
||||
class DeleteServersAdminTestJSON(base.BaseV2ComputeAdminTest):
|
||||
# NOTE: Server creations of each test class should be under 10
|
||||
|
@ -15,13 +15,9 @@
|
||||
# under the License.
|
||||
|
||||
from tempest.api.identity import base
|
||||
from tempest import config
|
||||
from tempest.lib import decorators
|
||||
|
||||
|
||||
CONF = config.CONF
|
||||
|
||||
|
||||
class ApplicationCredentialsV3AdminTest(base.BaseApplicationCredentialsV3Test,
|
||||
base.BaseIdentityV3AdminTest):
|
||||
|
||||
|
@ -14,12 +14,9 @@
|
||||
# under the License.
|
||||
|
||||
from tempest.api.identity import base
|
||||
from tempest import config
|
||||
from tempest.lib.common.utils import data_utils
|
||||
from tempest.lib import decorators
|
||||
|
||||
CONF = config.CONF
|
||||
|
||||
|
||||
class ProjectsTestJSON(base.BaseIdentityV3AdminTest):
|
||||
|
||||
|
@ -14,14 +14,11 @@
|
||||
# under the License.
|
||||
|
||||
from tempest.api.identity import base
|
||||
from tempest import config
|
||||
from tempest.lib.common.utils import data_utils
|
||||
from tempest.lib.common.utils import test_utils
|
||||
from tempest.lib import decorators
|
||||
from tempest.lib import exceptions as lib_exc
|
||||
|
||||
CONF = config.CONF
|
||||
|
||||
|
||||
class RolesV3TestJSON(base.BaseIdentityV3AdminTest):
|
||||
|
||||
|
@ -19,13 +19,9 @@ import datetime
|
||||
from oslo_utils import timeutils
|
||||
|
||||
from tempest.api.identity import base
|
||||
from tempest import config
|
||||
from tempest.lib import decorators
|
||||
|
||||
|
||||
CONF = config.CONF
|
||||
|
||||
|
||||
class ApplicationCredentialsV3Test(base.BaseApplicationCredentialsV3Test):
|
||||
|
||||
def _list_app_creds(self, name=None):
|
||||
|
@ -14,11 +14,9 @@
|
||||
|
||||
from tempest.api.network import base
|
||||
from tempest.common import utils
|
||||
from tempest import config
|
||||
from tempest.lib import decorators
|
||||
from tempest.lib import exceptions
|
||||
|
||||
CONF = config.CONF
|
||||
AGENT_TYPE = 'L3 agent'
|
||||
AGENT_MODES = (
|
||||
'legacy',
|
||||
|
@ -14,11 +14,8 @@
|
||||
# under the License.
|
||||
|
||||
from tempest.api.network import base
|
||||
from tempest import config
|
||||
from tempest.lib import decorators
|
||||
|
||||
CONF = config.CONF
|
||||
|
||||
|
||||
class PortsAdminExtendedAttrsTestJSON(base.BaseAdminNetworkTest):
|
||||
|
||||
|
@ -17,11 +17,8 @@ import six
|
||||
|
||||
from tempest.api.network import base
|
||||
from tempest.common import utils
|
||||
from tempest import config
|
||||
from tempest.lib import decorators
|
||||
|
||||
CONF = config.CONF
|
||||
|
||||
|
||||
class AllowedAddressPairTestJSON(base.BaseNetworkTest):
|
||||
"""Tests the Neutron Allowed Address Pair API extension
|
||||
|
@ -22,13 +22,10 @@ import testtools
|
||||
from tempest.api.network import base_security_groups as sec_base
|
||||
from tempest.common import custom_matchers
|
||||
from tempest.common import utils
|
||||
from tempest import config
|
||||
from tempest.lib.common.utils import data_utils
|
||||
from tempest.lib import decorators
|
||||
from tempest.lib import exceptions
|
||||
|
||||
CONF = config.CONF
|
||||
|
||||
|
||||
class PortsTestJSON(sec_base.BaseSecGroupTest):
|
||||
"""Test the following operations for ports:
|
||||
|
@ -15,13 +15,10 @@
|
||||
|
||||
from tempest.api.network import base
|
||||
from tempest.common import utils
|
||||
from tempest import config
|
||||
from tempest.lib.common.utils import data_utils
|
||||
from tempest.lib import decorators
|
||||
from tempest.lib import exceptions as lib_exc
|
||||
|
||||
CONF = config.CONF
|
||||
|
||||
|
||||
class RoutersNegativeTest(base.BaseNetworkTest):
|
||||
|
||||
|
@ -15,12 +15,9 @@
|
||||
|
||||
from tempest.api.network import base_security_groups as base
|
||||
from tempest.common import utils
|
||||
from tempest import config
|
||||
from tempest.lib.common.utils import data_utils
|
||||
from tempest.lib import decorators
|
||||
|
||||
CONF = config.CONF
|
||||
|
||||
|
||||
class SecGroupTest(base.BaseSecGroupTest):
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user