Browse Source

Merge "Remove Manager class"

changes/44/676044/1 0.3.0
Zuul 2 years ago
committed by Gerrit Code Review
parent
commit
a226433e77
2 changed files with 0 additions and 11 deletions
  1. +0
    -9
      barbican_tempest_plugin/clients.py
  2. +0
    -2
      barbican_tempest_plugin/tests/scenario/barbican_manager.py

+ 0
- 9
barbican_tempest_plugin/clients.py View File

@ -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"""


+ 0
- 2
barbican_tempest_plugin/tests/scenario/barbican_manager.py View File

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


Loading…
Cancel
Save