From 5032dbc8074d5133c6b71610cd57d3c8da07c9b9 Mon Sep 17 00:00:00 2001 From: Richard Theis Date: Fri, 29 Jan 2016 15:45:07 -0600 Subject: Skip identity v2 functional tests DevStack now uses identity v3 by default thus causing OSC to only load openstack.identity.v3 commands. This prevents running functional tests on openstack.identity.v2 commands. As a result, this patch set skips all identity v2 functional tests to unblock the gate. Change-Id: I066187318be71792a966fa21226fab0d406c3758 Partial-Bug: #1539780 --- functional/tests/identity/v3/test_identity.py | 9 --------- 1 file changed, 9 deletions(-) (limited to 'functional/tests/identity/v3') diff --git a/functional/tests/identity/v3/test_identity.py b/functional/tests/identity/v3/test_identity.py index 3164e8fb..6aeddccc 100644 --- a/functional/tests/identity/v3/test_identity.py +++ b/functional/tests/identity/v3/test_identity.py @@ -10,8 +10,6 @@ # License for the specific language governing permissions and limitations # under the License. -import os - from tempest_lib.common.utils import data_utils from functional.common import test @@ -49,13 +47,6 @@ class IdentityTests(test.TestCase): if hasattr(super(IdentityTests, cls), 'setUpClass'): super(IdentityTests, cls).setUpClass() - # prepare v3 env - auth_url = os.environ.get('OS_AUTH_URL') - auth_url = auth_url.replace('v2.0', 'v3') - os.environ['OS_AUTH_URL'] = auth_url - os.environ['OS_IDENTITY_API_VERSION'] = '3' - os.environ['OS_AUTH_TYPE'] = 'v3password' - # create dummy domain cls.domain_name = data_utils.rand_name('TestDomain') cls.domain_description = data_utils.rand_name('description') -- cgit v1.2.1