File tree Expand file tree Collapse file tree
functional/tests/identity Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1010# License for the specific language governing permissions and limitations
1111# under the License.
1212
13- import testtools
14-
1513from functional .tests .identity .v2 import test_identity
1614
1715
18- @testtools .skip ('bug/1539780' )
1916class CatalogTests (test_identity .IdentityTests ):
2017
2118 def test_catalog_list (self ):
Original file line number Diff line number Diff line change 1010# License for the specific language governing permissions and limitations
1111# under the License.
1212
13- import testtools
14-
1513from functional .tests .identity .v2 import test_identity
1614
1715
18- @testtools .skip ('bug/1539780' )
1916class EC2CredentialsTests (test_identity .IdentityTests ):
2017
2118 def test_ec2_credentials_create (self ):
Original file line number Diff line number Diff line change 1010# License for the specific language governing permissions and limitations
1111# under the License.
1212
13- import testtools
14-
1513from functional .tests .identity .v2 import test_identity
1614
1715
18- @testtools .skip ('bug/1539780' )
1916class EndpointTests (test_identity .IdentityTests ):
2017
2118 def test_endpoint_create (self ):
Original file line number Diff line number Diff line change 1010# License for the specific language governing permissions and limitations
1111# under the License.
1212
13- import testtools
14-
1513from tempest_lib .common .utils import data_utils
1614
1715from functional .tests .identity .v2 import test_identity
1816
1917
20- @testtools .skip ('bug/1539780' )
2118class ProjectTests (test_identity .IdentityTests ):
2219
2320 def test_project_create (self ):
Original file line number Diff line number Diff line change 1010# License for the specific language governing permissions and limitations
1111# under the License.
1212
13- import testtools
14-
1513from functional .tests .identity .v2 import test_identity
1614
1715
18- @testtools .skip ('bug/1539780' )
1916class RoleTests (test_identity .IdentityTests ):
2017
2118 def test_role_create (self ):
Original file line number Diff line number Diff line change 1010# License for the specific language governing permissions and limitations
1111# under the License.
1212
13- import testtools
14-
1513from functional .tests .identity .v2 import test_identity
1614
1715
18- @testtools .skip ('bug/1539780' )
1916class ServiceTests (test_identity .IdentityTests ):
2017
2118 def test_service_create (self ):
Original file line number Diff line number Diff line change 1010# License for the specific language governing permissions and limitations
1111# under the License.
1212
13- import testtools
14-
1513from functional .tests .identity .v2 import test_identity
1614
1715
18- @testtools .skip ('bug/1539780' )
1916class TokenTests (test_identity .IdentityTests ):
2017
2118 def test_token_issue (self ):
Original file line number Diff line number Diff line change 1010# License for the specific language governing permissions and limitations
1111# under the License.
1212
13- import testtools
14-
1513from tempest_lib .common .utils import data_utils
1614
1715from functional .common import exceptions
1816from functional .tests .identity .v2 import test_identity
1917
2018
21- @testtools .skip ('bug/1539780' )
2219class UserTests (test_identity .IdentityTests ):
2320
2421 def test_user_create (self ):
Original file line number Diff line number Diff line change 1010# License for the specific language governing permissions and limitations
1111# under the License.
1212
13+ import os
14+
1315from tempest_lib .common .utils import data_utils
1416
1517from functional .common import test
@@ -47,6 +49,13 @@ def setUpClass(cls):
4749 if hasattr (super (IdentityTests , cls ), 'setUpClass' ):
4850 super (IdentityTests , cls ).setUpClass ()
4951
52+ # prepare v3 env
53+ auth_url = os .environ .get ('OS_AUTH_URL' )
54+ auth_url = auth_url .replace ('v2.0' , 'v3' )
55+ os .environ ['OS_AUTH_URL' ] = auth_url
56+ os .environ ['OS_IDENTITY_API_VERSION' ] = '3'
57+ os .environ ['OS_AUTH_TYPE' ] = 'v3password'
58+
5059 # create dummy domain
5160 cls .domain_name = data_utils .rand_name ('TestDomain' )
5261 cls .domain_description = data_utils .rand_name ('description' )
You can’t perform that action at this time.
0 commit comments