Merge "Fix issue with tempest tests"

This commit is contained in:
Jenkins 2014-05-15 09:26:55 +00:00 committed by Gerrit Code Review
commit ecec340b52

View File

@ -79,15 +79,12 @@ class TestCase(testtools.TestCase):
"""
super(TestCase, cls).setUpClass()
username = CONF.identity.username
password = CONF.identity.password
tenant_name = CONF.identity.tenant_name
mgr = clients.Manager()
cls.client = MistralClient(mgr.auth_provider)
mgr = clients.Manager(username, password, tenant_name)
auth_provider = mgr.get_auth_provider(mgr.get_default_credentials())
cls.client = MistralClient(auth_provider)
cls.obj = []
def setUp(self):
super(TestCase, self).setUp()
self.obj = []
def tearDown(self):
super(TestCase, self).tearDown()