Cleanup unused conf variables

I noticed in nova that we had a lot of unused conf variables. I
wondered if this was a thing in other projects as well. Turns out
it is.

Change-Id: I641cee523068ec6824ae5243208a8ffd68331f5c
This commit is contained in:
Michael Still 2016-02-16 12:03:13 +11:00
parent 5b6dab1ac9
commit 10b8243dc4
6 changed files with 1 additions and 15 deletions

View File

@ -22,10 +22,6 @@ from tempest_lib import exceptions as lib_exc
import testtools
from neutron.tests.api import base
from neutron.tests.tempest import config
CONF = config.CONF
class SharedNetworksTest(base.BaseAdminNetworkTest):

View File

@ -17,10 +17,8 @@ from tempest_lib.common.utils import data_utils
from tempest_lib import exceptions as lib_exc
from neutron.tests.api import base
from neutron.tests.tempest import config
CONF = config.CONF
ADDRESS_SCOPE_NAME = 'smoke-address-scope'

View File

@ -19,9 +19,7 @@ from tempest_lib import exceptions as lib_exc
from neutron.tests.api import base
from neutron.tests.api import base_security_groups as base_security
from neutron.tests.tempest import config
CONF = config.CONF
FAKE_IP = '10.0.0.1'
FAKE_MAC = '00:25:64:e8:19:dd'

View File

@ -18,9 +18,6 @@ import testtools
from neutron.services.qos import qos_consts
from neutron.tests.api import base
from neutron.tests.tempest import config
CONF = config.CONF
class QosTestJSON(base.BaseAdminNetworkTest):

View File

@ -17,9 +17,7 @@ from tempest import test
from tempest_lib.common.utils import data_utils
from neutron.tests.api import base
from neutron.tests.tempest import config
CONF = config.CONF
SUBNETPOOL_NAME = 'smoke-subnetpool'
SUBNET_NAME = 'smoke-subnet'

View File

@ -21,9 +21,8 @@ from tempest_lib.common.utils import data_utils
from tempest_lib import exceptions as lib_exc
from neutron.tests.api import test_subnetpools
from neutron.tests.tempest import config
CONF = config.CONF
SUBNETPOOL_NAME = 'smoke-subnetpool'