Merge "Remove unused methods"
This commit is contained in:
commit
26149b612d
@ -70,20 +70,6 @@ class BaseOrchestrationTest(tempest.test.BaseTestCase):
|
||||
cls.keypairs = []
|
||||
cls.images = []
|
||||
|
||||
@classmethod
|
||||
def _get_default_network(cls):
|
||||
networks = cls.network_client.list_networks()
|
||||
for net in networks['networks']:
|
||||
if net['name'] == CONF.compute.fixed_network_name:
|
||||
return net
|
||||
|
||||
@classmethod
|
||||
def _get_identity_admin_client(cls):
|
||||
"""Returns an instance of the Identity Admin API client."""
|
||||
manager = clients.Manager(cls.isolated_creds.get_admin_creds())
|
||||
admin_client = manager.identity_client
|
||||
return admin_client
|
||||
|
||||
@classmethod
|
||||
def create_stack(cls, stack_name, template_data, parameters=None,
|
||||
environment=None, files=None):
|
||||
|
@ -433,15 +433,6 @@ class BaseTestCase(testtools.testcase.WithAttributes,
|
||||
if hasattr(cls, 'isolated_creds'):
|
||||
cls.isolated_creds.clear_isolated_creds()
|
||||
|
||||
@classmethod
|
||||
def _get_identity_admin_client(cls):
|
||||
"""
|
||||
Returns an instance of the Identity Admin API client
|
||||
"""
|
||||
os = clients.AdminManager(service=cls._service)
|
||||
admin_client = os.identity_client
|
||||
return admin_client
|
||||
|
||||
@classmethod
|
||||
def set_network_resources(cls, network=False, router=False, subnet=False,
|
||||
dhcp=False):
|
||||
|
Loading…
x
Reference in New Issue
Block a user