From 0e1f385769e65b89f74982e3afc7532fa8ab15bd Mon Sep 17 00:00:00 2001 From: Nikolay Starodubtsev Date: Fri, 9 Oct 2015 14:44:47 +0300 Subject: [PATCH] Fix obsolete imports in functional tests isolated_creds was renamed to dynamic_creds in murano functional tests. Also, update class names. Change-Id: I3596a80925dde388dcb69a37ee4fd0343849b352 Closes-Bug: #1504508 --- murano/tests/functional/api/base.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/murano/tests/functional/api/base.py b/murano/tests/functional/api/base.py index 193c7a76b..42c824a72 100644 --- a/murano/tests/functional/api/base.py +++ b/murano/tests/functional/api/base.py @@ -20,7 +20,7 @@ import uuid import requests from tempest import clients from tempest.common import cred_provider -from tempest.common import isolated_creds +from tempest.common import dynamic_creds from tempest import config from tempest import test from tempest_lib.common import rest_client @@ -290,12 +290,12 @@ class NegativeTestCase(TestCase): # If no credentials are provided, the Manager will use those # in CONF.identity and generate an auth_provider from them - cls.isolated_creds = isolated_creds.IsolatedCreds('v2', - name=cls.__name__) - creds = cls.isolated_creds.get_alt_creds() + cls.dynamic_creds = dynamic_creds.DynamicCredentialProvider( + 'v2', name=cls.__name__) + creds = cls.dynamic_creds.get_alt_creds() mgr = clients.Manager(credentials=creds) cls.alt_client = MuranoClient(mgr.auth_provider) @classmethod def purge_creds(cls): - cls.isolated_creds.clear_isolated_creds() + cls.dynamic_creds.clear_creds()