From 488fd6157e199815169f0f81347945bf3b39a811 Mon Sep 17 00:00:00 2001 From: Masayuki Igawa Date: Mon, 4 Feb 2019 15:54:33 +0900 Subject: [PATCH] Remove Manager class This commit removes Manager class which is unused now. Change-Id: I49d3790c3f649a3d84e9d31f00b3f15a5dbaa36f --- barbican_tempest_plugin/clients.py | 9 --------- .../tests/scenario/barbican_manager.py | 2 -- 2 files changed, 11 deletions(-) diff --git a/barbican_tempest_plugin/clients.py b/barbican_tempest_plugin/clients.py index 9c009ba..6808da4 100644 --- a/barbican_tempest_plugin/clients.py +++ b/barbican_tempest_plugin/clients.py @@ -12,20 +12,11 @@ # License for the specific language governing permissions and limitations under # the License. -from tempest import clients -from tempest.common import credentials_factory as common_creds from tempest import config from tempest.lib.services import clients as cli CONF = config.CONF -ADMIN_CREDS = common_creds.get_configured_admin_credentials() - - -class Manager(clients.Manager): - def __init__(self, credentials=ADMIN_CREDS): - super(Manager, self).__init__(credentials) - class Clients(cli.ServiceClients): """Tempest stable service clients and loaded plugins service clients""" diff --git a/barbican_tempest_plugin/tests/scenario/barbican_manager.py b/barbican_tempest_plugin/tests/scenario/barbican_manager.py index 339cfb1..d560a63 100644 --- a/barbican_tempest_plugin/tests/scenario/barbican_manager.py +++ b/barbican_tempest_plugin/tests/scenario/barbican_manager.py @@ -30,7 +30,6 @@ from cryptography.x509.oid import NameOID from oslo_log import log as logging from tempest import config -from barbican_tempest_plugin import clients from barbican_tempest_plugin.tests.scenario import manager as mgr CONF = config.CONF @@ -40,7 +39,6 @@ LOG = logging.getLogger(__name__) class BarbicanScenarioTest(mgr.ScenarioTest): credentials = ('primary', 'admin') - manager = clients.Manager() def setUp(self): super(BarbicanScenarioTest, self).setUp()