The openstack_dashboard.test.api_tests.keystone_tests ModuleΒΆ

class openstack_dashboard.test.api_tests.keystone_tests.ClientConnectionTests(methodName='runTest')[source]

Bases: openstack_dashboard.test.helpers.TestCase

setUp()[source]
class openstack_dashboard.test.api_tests.keystone_tests.FakeConnection[source]

Bases: object

class openstack_dashboard.test.api_tests.keystone_tests.RoleAPITests(methodName='runTest')[source]

Bases: openstack_dashboard.test.helpers.APITestCase

setUp()[source]
test_get_default_role()[source]
test_remove_tenant_user()[source]

Tests api.keystone.remove_tenant_user

Verifies that remove_tenant_user is called with the right arguments after iterating the user’s roles.

There are no assertions in this test because the checking is handled by mox in the VerifyAll() call in tearDown().

class openstack_dashboard.test.api_tests.keystone_tests.ServiceAPITests(methodName='runTest')[source]

Bases: openstack_dashboard.test.helpers.APITestCase

test_service_wrapper()[source]
test_service_wrapper_service_in_region()[source]