Merge "Remove unused methods"

This commit is contained in:
Jenkins 2015-04-29 09:35:46 +00:00 committed by Gerrit Code Review
commit 26149b612d
2 changed files with 0 additions and 23 deletions

View File

@ -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):

View File

@ -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):