diff options
author | Andrea Frittoli (andreaf) <andrea.frittoli@hp.com> | 2015-03-27 07:53:19 -0400 |
---|---|---|
committer | Andrea Frittoli <andrea.frittoli@hp.com> | 2015-04-27 14:26:22 +0000 |
commit | b3f9ff78b939738d7d3a3e12517c4ab483fe5e24 (patch) | |
tree | da0d2816fcb07cc5b869e99eb76addb419107b95 | |
parent | b21de6ce451272dfbc418d1aa2bfc6bb46d510ef (diff) | |
download | tempest-b3f9ff78b939738d7d3a3e12517c4ab483fe5e24.tar.gz |
Remove unused methods
Cleanup a few unused methods.
Change-Id: I149246366527adeb38765559d09907a80c141593
-rw-r--r-- | tempest/api/orchestration/base.py | 14 | ||||
-rw-r--r-- | tempest/test.py | 9 |
2 files changed, 0 insertions, 23 deletions
diff --git a/tempest/api/orchestration/base.py b/tempest/api/orchestration/base.py index beb4ac8eb..35f51b9e4 100644 --- a/tempest/api/orchestration/base.py +++ b/tempest/api/orchestration/base.py @@ -71,20 +71,6 @@ class BaseOrchestrationTest(tempest.test.BaseTestCase): 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): if parameters is None: diff --git a/tempest/test.py b/tempest/test.py index 80eba949a..ba15873a7 100644 --- a/tempest/test.py +++ b/tempest/test.py @@ -438,15 +438,6 @@ class BaseTestCase(testtools.testcase.WithAttributes, 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): """Specify which network resources should be created |