diff options
Diffstat (limited to 'tempest/api/identity')
-rw-r--r-- | tempest/api/identity/admin/v2/test_roles.py | 6 | ||||
-rw-r--r-- | tempest/api/identity/admin/v2/test_services.py | 1 | ||||
-rw-r--r-- | tempest/api/identity/admin/v2/test_tenants.py | 7 | ||||
-rw-r--r-- | tempest/api/identity/admin/v2/test_tokens.py | 2 | ||||
-rw-r--r-- | tempest/api/identity/admin/v2/test_users.py | 3 | ||||
-rw-r--r-- | tempest/api/identity/admin/v3/test_endpoints.py | 2 | ||||
-rw-r--r-- | tempest/api/identity/admin/v3/test_list_projects.py | 4 | ||||
-rw-r--r-- | tempest/api/identity/admin/v3/test_list_users.py | 5 | ||||
-rw-r--r-- | tempest/api/identity/admin/v3/test_projects.py | 8 | ||||
-rw-r--r-- | tempest/api/identity/admin/v3/test_regions.py | 2 | ||||
-rw-r--r-- | tempest/api/identity/admin/v3/test_roles.py | 1 | ||||
-rw-r--r-- | tempest/api/identity/admin/v3/test_tokens.py | 1 | ||||
-rw-r--r-- | tempest/api/identity/admin/v3/test_users.py | 4 | ||||
-rw-r--r-- | tempest/api/identity/test_extension.py | 1 |
14 files changed, 0 insertions, 47 deletions
diff --git a/tempest/api/identity/admin/v2/test_roles.py b/tempest/api/identity/admin/v2/test_roles.py index b3746f291..4e89bfea8 100644 --- a/tempest/api/identity/admin/v2/test_roles.py +++ b/tempest/api/identity/admin/v2/test_roles.py @@ -45,7 +45,6 @@ class RolesTestJSON(base.BaseIdentityV2AdminTest): found = True self.assertTrue(found, "assigned role was not in list") - @test.attr(type='gate') @test.idempotent_id('75d9593f-50b7-4fcf-bd64-e3fb4a278e23') def test_list_roles(self): """Return a list of all roles.""" @@ -54,7 +53,6 @@ class RolesTestJSON(base.BaseIdentityV2AdminTest): self.assertTrue(any(found)) self.assertEqual(len(found), len(self.data.roles)) - @test.attr(type='gate') @test.idempotent_id('c62d909d-6c21-48c0-ae40-0a0760e6db5e') def test_role_create_delete(self): """Role should be created, verified, and deleted.""" @@ -72,7 +70,6 @@ class RolesTestJSON(base.BaseIdentityV2AdminTest): found = [role for role in body if role['name'] == role_name] self.assertFalse(any(found)) - @test.attr(type='gate') @test.idempotent_id('db6870bd-a6ed-43be-a9b1-2f10a5c9994f') def test_get_role_by_id(self): """Get a role by its id.""" @@ -83,7 +80,6 @@ class RolesTestJSON(base.BaseIdentityV2AdminTest): self.assertEqual(role_id, body['id']) self.assertEqual(role_name, body['name']) - @test.attr(type='gate') @test.idempotent_id('0146f675-ffbd-4208-b3a4-60eb628dbc5e') def test_assign_user_role(self): """Assign a role to a user on a tenant.""" @@ -92,7 +88,6 @@ class RolesTestJSON(base.BaseIdentityV2AdminTest): roles = self.client.list_user_roles(tenant['id'], user['id']) self.assert_role_in_role_list(role, roles) - @test.attr(type='gate') @test.idempotent_id('f0b9292c-d3ba-4082-aa6c-440489beef69') def test_remove_user_role(self): """Remove a role assigned to a user on a tenant.""" @@ -102,7 +97,6 @@ class RolesTestJSON(base.BaseIdentityV2AdminTest): self.client.remove_user_role(tenant['id'], user['id'], user_role['id']) - @test.attr(type='gate') @test.idempotent_id('262e1e3e-ed71-4edd-a0e5-d64e83d66d05') def test_list_user_roles(self): """List roles assigned to a user on tenant.""" diff --git a/tempest/api/identity/admin/v2/test_services.py b/tempest/api/identity/admin/v2/test_services.py index 326c78bd4..aa7e3d27a 100644 --- a/tempest/api/identity/admin/v2/test_services.py +++ b/tempest/api/identity/admin/v2/test_services.py @@ -63,7 +63,6 @@ class ServicesTestJSON(base.BaseIdentityV2AdminTest): self.assertEqual(fetched_service['description'], service_data['description']) - @test.attr(type='gate') @test.idempotent_id('5d3252c8-e555-494b-a6c8-e11d7335da42') def test_create_service_without_description(self): # Create a service only with name and type diff --git a/tempest/api/identity/admin/v2/test_tenants.py b/tempest/api/identity/admin/v2/test_tenants.py index 5dba65a46..cfd3d7fd8 100644 --- a/tempest/api/identity/admin/v2/test_tenants.py +++ b/tempest/api/identity/admin/v2/test_tenants.py @@ -22,7 +22,6 @@ from tempest import test class TenantsTestJSON(base.BaseIdentityV2AdminTest): - @test.attr(type='gate') @test.idempotent_id('16c6e05c-6112-4b0e-b83f-5e43f221b6b0') def test_tenant_list_delete(self): # Create several tenants and delete them @@ -45,7 +44,6 @@ class TenantsTestJSON(base.BaseIdentityV2AdminTest): found = [tenant for tenant in body if tenant['id'] in tenant_ids] self.assertFalse(any(found), 'Tenants failed to delete') - @test.attr(type='gate') @test.idempotent_id('d25e9f24-1310-4d29-b61b-d91299c21d6d') def test_tenant_create_with_description(self): # Create tenant with a description @@ -66,7 +64,6 @@ class TenantsTestJSON(base.BaseIdentityV2AdminTest): self.client.delete_tenant(tenant_id) self.data.tenants.remove(tenant) - @test.attr(type='gate') @test.idempotent_id('670bdddc-1cd7-41c7-b8e2-751cfb67df50') def test_tenant_create_enabled(self): # Create a tenant that is enabled @@ -83,7 +80,6 @@ class TenantsTestJSON(base.BaseIdentityV2AdminTest): self.client.delete_tenant(tenant_id) self.data.tenants.remove(tenant) - @test.attr(type='gate') @test.idempotent_id('3be22093-b30f-499d-b772-38340e5e16fb') def test_tenant_create_not_enabled(self): # Create a tenant that is not enabled @@ -102,7 +98,6 @@ class TenantsTestJSON(base.BaseIdentityV2AdminTest): self.client.delete_tenant(tenant_id) self.data.tenants.remove(tenant) - @test.attr(type='gate') @test.idempotent_id('781f2266-d128-47f3-8bdb-f70970add238') def test_tenant_update_name(self): # Update name attribute of a tenant @@ -129,7 +124,6 @@ class TenantsTestJSON(base.BaseIdentityV2AdminTest): self.client.delete_tenant(t_id) self.data.tenants.remove(tenant) - @test.attr(type='gate') @test.idempotent_id('859fcfe1-3a03-41ef-86f9-b19a47d1cd87') def test_tenant_update_desc(self): # Update description attribute of a tenant @@ -157,7 +151,6 @@ class TenantsTestJSON(base.BaseIdentityV2AdminTest): self.client.delete_tenant(t_id) self.data.tenants.remove(tenant) - @test.attr(type='gate') @test.idempotent_id('8fc8981f-f12d-4c66-9972-2bdcf2bc2e1a') def test_tenant_update_enable(self): # Update the enabled attribute of a tenant diff --git a/tempest/api/identity/admin/v2/test_tokens.py b/tempest/api/identity/admin/v2/test_tokens.py index 860e5af7e..ee2530b02 100644 --- a/tempest/api/identity/admin/v2/test_tokens.py +++ b/tempest/api/identity/admin/v2/test_tokens.py @@ -21,7 +21,6 @@ from tempest import test class TokensTestJSON(base.BaseIdentityV2AdminTest): - @test.attr(type='gate') @test.idempotent_id('453ad4d5-e486-4b2f-be72-cffc8149e586') def test_create_get_delete_token(self): # get a token by username and password @@ -52,7 +51,6 @@ class TokensTestJSON(base.BaseIdentityV2AdminTest): # then delete the token self.client.delete_token(token_id) - @test.attr(type='gate') @test.idempotent_id('25ba82ee-8a32-4ceb-8f50-8b8c71e8765e') def test_rescope_token(self): """An unscoped token can be requested, that token can be used to diff --git a/tempest/api/identity/admin/v2/test_users.py b/tempest/api/identity/admin/v2/test_users.py index f47f9850f..385f87856 100644 --- a/tempest/api/identity/admin/v2/test_users.py +++ b/tempest/api/identity/admin/v2/test_users.py @@ -105,7 +105,6 @@ class UsersTestJSON(base.BaseIdentityV2AdminTest): self.data.test_password, self.data.test_tenant) - @test.attr(type='gate') @test.idempotent_id('5d1fa498-4c2d-4732-a8fe-2b054598cfdd') def test_authentication_request_without_token(self): # Request for token authentication with a valid token in header @@ -132,7 +131,6 @@ class UsersTestJSON(base.BaseIdentityV2AdminTest): matchers.Contains(self.data.test_user), "Could not find %s" % self.data.test_user) - @test.attr(type='gate') @test.idempotent_id('6e317209-383a-4bed-9f10-075b7c82c79a') def test_list_users_for_tenant(self): # Return a list of all users for a tenant @@ -163,7 +161,6 @@ class UsersTestJSON(base.BaseIdentityV2AdminTest): "Failed to find user %s in fetched list" % ', '.join(m_user for m_user in missing_users)) - @test.attr(type='gate') @test.idempotent_id('a8b54974-40e1-41c0-b812-50fc90827971') def test_list_users_with_roles_for_tenant(self): # Return list of users on tenant when roles are assigned to users diff --git a/tempest/api/identity/admin/v3/test_endpoints.py b/tempest/api/identity/admin/v3/test_endpoints.py index 2d8c04f60..1672d4773 100644 --- a/tempest/api/identity/admin/v3/test_endpoints.py +++ b/tempest/api/identity/admin/v3/test_endpoints.py @@ -57,7 +57,6 @@ class EndPointsTestJSON(base.BaseIdentityV3AdminTest): cls.service_client.delete_service(s) super(EndPointsTestJSON, cls).resource_cleanup() - @test.attr(type='gate') @test.idempotent_id('c19ecf90-240e-4e23-9966-21cee3f6a618') def test_list_endpoints(self): # Get a list of endpoints @@ -69,7 +68,6 @@ class EndPointsTestJSON(base.BaseIdentityV3AdminTest): "Failed to find endpoint %s in fetched list" % ', '.join(str(e) for e in missing_endpoints)) - @test.attr(type='gate') @test.idempotent_id('0e2446d2-c1fd-461b-a729-b9e73e3e3b37') def test_create_list_delete_endpoint(self): region = data_utils.rand_name('region') diff --git a/tempest/api/identity/admin/v3/test_list_projects.py b/tempest/api/identity/admin/v3/test_list_projects.py index 7b092fd80..d88b00dcf 100644 --- a/tempest/api/identity/admin/v3/test_list_projects.py +++ b/tempest/api/identity/admin/v3/test_list_projects.py @@ -38,7 +38,6 @@ class ListProjectsTestJSON(base.BaseIdentityV3AdminTest): cls.data.projects.append(cls.p2) cls.project_ids.append(cls.p2['id']) - @test.attr(type='gate') @test.idempotent_id('1d830662-22ad-427c-8c3e-4ec854b0af44') def test_projects_list(self): # List projects @@ -48,20 +47,17 @@ class ListProjectsTestJSON(base.BaseIdentityV3AdminTest): get_project = self.client.get_project(p) self.assertIn(get_project, list_projects) - @test.attr(type='gate') @test.idempotent_id('fab13f3c-f6a6-4b9f-829b-d32fd44fdf10') def test_list_projects_with_domains(self): # List projects with domain self._list_projects_with_params( {'domain_id': self.data.domain['id']}, 'domain_id') - @test.attr(type='gate') @test.idempotent_id('0fe7a334-675a-4509-b00e-1c4b95d5dae8') def test_list_projects_with_enabled(self): # List the projects with enabled self._list_projects_with_params({'enabled': False}, 'enabled') - @test.attr(type='gate') @test.idempotent_id('fa178524-4e6d-4925-907c-7ab9f42c7e26') def test_list_projects_with_name(self): # List projects with name diff --git a/tempest/api/identity/admin/v3/test_list_users.py b/tempest/api/identity/admin/v3/test_list_users.py index 6a073ced8..eeee3bb99 100644 --- a/tempest/api/identity/admin/v3/test_list_users.py +++ b/tempest/api/identity/admin/v3/test_list_users.py @@ -51,7 +51,6 @@ class UsersV3TestJSON(base.BaseIdentityV3AdminTest): email=cls.alt_email, enabled=False) cls.data.v3_users.append(cls.non_domain_enabled_user) - @test.attr(type='gate') @test.idempotent_id('08f9aabb-dcfe-41d0-8172-82b5fa0bd73d') def test_list_user_domains(self): # List users with domain @@ -60,7 +59,6 @@ class UsersV3TestJSON(base.BaseIdentityV3AdminTest): self.domain_enabled_user, self.non_domain_enabled_user) - @test.attr(type='gate') @test.idempotent_id('bff8bf2f-9408-4ef5-b63a-753c8c2124eb') def test_list_users_with_not_enabled(self): # List the users with not enabled @@ -69,7 +67,6 @@ class UsersV3TestJSON(base.BaseIdentityV3AdminTest): self.non_domain_enabled_user, self.domain_enabled_user) - @test.attr(type='gate') @test.idempotent_id('c285bb37-7325-4c02-bff3-3da5d946d683') def test_list_users_with_name(self): # List users with name @@ -78,7 +75,6 @@ class UsersV3TestJSON(base.BaseIdentityV3AdminTest): self.domain_enabled_user, self.non_domain_enabled_user) - @test.attr(type='gate') @test.idempotent_id('b30d4651-a2ea-4666-8551-0c0e49692635') def test_list_users(self): # List users @@ -90,7 +86,6 @@ class UsersV3TestJSON(base.BaseIdentityV3AdminTest): "Failed to find user %s in fetched list" % ', '.join(m_user for m_user in missing_users)) - @test.attr(type='gate') @test.idempotent_id('b4baa3ae-ac00-4b4e-9e27-80deaad7771f') def test_get_user(self): # Get a user detail diff --git a/tempest/api/identity/admin/v3/test_projects.py b/tempest/api/identity/admin/v3/test_projects.py index 5f8b3d198..41cf840a6 100644 --- a/tempest/api/identity/admin/v3/test_projects.py +++ b/tempest/api/identity/admin/v3/test_projects.py @@ -21,7 +21,6 @@ from tempest import test class ProjectsTestJSON(base.BaseIdentityV3AdminTest): - @test.attr(type='gate') @test.idempotent_id('0ecf465c-0dc4-4532-ab53-91ffeb74d12d') def test_project_create_with_description(self): # Create project with a description @@ -39,7 +38,6 @@ class ProjectsTestJSON(base.BaseIdentityV3AdminTest): self.assertEqual(desc2, project_desc, 'Description does not appear' 'to be set') - @test.attr(type='gate') @test.idempotent_id('5f50fe07-8166-430b-a882-3b2ee0abe26f') def test_project_create_with_domain(self): # Create project with a domain @@ -55,7 +53,6 @@ class ProjectsTestJSON(base.BaseIdentityV3AdminTest): self.assertEqual(project_name, body['name']) self.assertEqual(self.data.domain['id'], body['domain_id']) - @test.attr(type='gate') @test.idempotent_id('1f66dc76-50cc-4741-a200-af984509e480') def test_project_create_enabled(self): # Create a project that is enabled @@ -70,7 +67,6 @@ class ProjectsTestJSON(base.BaseIdentityV3AdminTest): en2 = body['enabled'] self.assertTrue(en2, 'Enable should be True in lookup') - @test.attr(type='gate') @test.idempotent_id('78f96a9c-e0e0-4ee6-a3ba-fbf6dfd03207') def test_project_create_not_enabled(self): # Create a project that is not enabled @@ -86,7 +82,6 @@ class ProjectsTestJSON(base.BaseIdentityV3AdminTest): self.assertEqual('false', str(en2).lower(), 'Enable should be False in lookup') - @test.attr(type='gate') @test.idempotent_id('f608f368-048c-496b-ad63-d286c26dab6b') def test_project_update_name(self): # Update name attribute of a project @@ -108,7 +103,6 @@ class ProjectsTestJSON(base.BaseIdentityV3AdminTest): self.assertEqual(p_name1, resp1_name) self.assertEqual(resp2_name, resp3_name) - @test.attr(type='gate') @test.idempotent_id('f138b715-255e-4a7d-871d-351e1ef2e153') def test_project_update_desc(self): # Update description attribute of a project @@ -132,7 +126,6 @@ class ProjectsTestJSON(base.BaseIdentityV3AdminTest): self.assertEqual(p_desc, resp1_desc) self.assertEqual(resp2_desc, resp3_desc) - @test.attr(type='gate') @test.idempotent_id('b6b25683-c97f-474d-a595-55d410b68100') def test_project_update_enable(self): # Update the enabled attribute of a project @@ -156,7 +149,6 @@ class ProjectsTestJSON(base.BaseIdentityV3AdminTest): self.assertEqual('false', str(resp1_en).lower()) self.assertEqual(resp2_en, resp3_en) - @test.attr(type='gate') @test.idempotent_id('59398d4a-5dc5-4f86-9a4c-c26cc804d6c6') def test_associate_user_to_project(self): # Associate a user to a project diff --git a/tempest/api/identity/admin/v3/test_regions.py b/tempest/api/identity/admin/v3/test_regions.py index 146cc65bf..986007afe 100644 --- a/tempest/api/identity/admin/v3/test_regions.py +++ b/tempest/api/identity/admin/v3/test_regions.py @@ -47,7 +47,6 @@ class RegionsTestJSON(base.BaseIdentityV3AdminTest): self.assertRaises(lib_exc.NotFound, self.client.get_region, region_id) - @test.attr(type='gate') @test.idempotent_id('56186092-82e4-43f2-b954-91013218ba42') def test_create_update_get_delete_region(self): r_description = data_utils.rand_name('description') @@ -85,7 +84,6 @@ class RegionsTestJSON(base.BaseIdentityV3AdminTest): self.assertEqual(r_region_id, region['id']) self.assertEqual(r_description, region['description']) - @test.attr(type='gate') @test.idempotent_id('d180bf99-544a-445c-ad0d-0c0d27663796') def test_list_regions(self): # Get a list of regions diff --git a/tempest/api/identity/admin/v3/test_roles.py b/tempest/api/identity/admin/v3/test_roles.py index 8334c184f..53aa15dfe 100644 --- a/tempest/api/identity/admin/v3/test_roles.py +++ b/tempest/api/identity/admin/v3/test_roles.py @@ -174,7 +174,6 @@ class RolesV3TestJSON(base.BaseIdentityV3AdminTest): self.client.revoke_role_from_group_on_domain( self.domain['id'], self.group_body['id'], self.role['id']) - @test.attr(type='gate') @test.idempotent_id('f5654bcc-08c4-4f71-88fe-05d64e06de94') def test_list_roles(self): # Return a list of all roles diff --git a/tempest/api/identity/admin/v3/test_tokens.py b/tempest/api/identity/admin/v3/test_tokens.py index 702e9366e..6ac601af7 100644 --- a/tempest/api/identity/admin/v3/test_tokens.py +++ b/tempest/api/identity/admin/v3/test_tokens.py @@ -49,7 +49,6 @@ class TokensV3TestJSON(base.BaseIdentityV3AdminTest): self.assertRaises(lib_exc.NotFound, self.client.get_token, subject_token) - @test.attr(type='gate') @test.idempotent_id('565fa210-1da1-4563-999b-f7b5b67cf112') def test_rescope_token(self): """Rescope a token. diff --git a/tempest/api/identity/admin/v3/test_users.py b/tempest/api/identity/admin/v3/test_users.py index e4bfd6afa..7fe369e94 100644 --- a/tempest/api/identity/admin/v3/test_users.py +++ b/tempest/api/identity/admin/v3/test_users.py @@ -21,7 +21,6 @@ from tempest import test class UsersV3TestJSON(base.BaseIdentityV3AdminTest): - @test.attr(type='gate') @test.idempotent_id('b537d090-afb9-4519-b95d-270b0708e87e') def test_user_update(self): # Test case to check if updating of user attributes is successful. @@ -65,7 +64,6 @@ class UsersV3TestJSON(base.BaseIdentityV3AdminTest): self.assertEqual(u_email2, new_user_get['email']) self.assertEqual('false', str(new_user_get['enabled']).lower()) - @test.attr(type='gate') @test.idempotent_id('2d223a0e-e457-4a70-9fb1-febe027a0ff9') def test_update_user_password(self): # Creating User to check password updation @@ -88,7 +86,6 @@ class UsersV3TestJSON(base.BaseIdentityV3AdminTest): self.assertEqual(token_details['user']['id'], user['id']) self.assertEqual(token_details['user']['name'], u_name) - @test.attr(type='gate') @test.idempotent_id('a831e70c-e35b-430b-92ed-81ebbc5437b8') def test_list_user_projects(self): # List the projects that a user has access upon @@ -142,7 +139,6 @@ class UsersV3TestJSON(base.BaseIdentityV3AdminTest): ', '.join(m_project for m_project in missing_projects)) - @test.attr(type='gate') @test.idempotent_id('c10dcd90-461d-4b16-8e23-4eb836c00644') def test_get_user(self): # Get a user detail diff --git a/tempest/api/identity/test_extension.py b/tempest/api/identity/test_extension.py index f4a5c8666..b1d65b479 100644 --- a/tempest/api/identity/test_extension.py +++ b/tempest/api/identity/test_extension.py @@ -19,7 +19,6 @@ from tempest import test class ExtensionTestJSON(base.BaseIdentityV2AdminTest): - @test.attr(type='gate') @test.idempotent_id('85f3f661-f54c-4d48-b563-72ae952b9383') def test_list_extensions(self): # List all the extensions |