The openstack_dashboard.test.api_tests.base_tests ModuleΒΆ

class openstack_dashboard.test.api_tests.base_tests.APIDict(apidict)[source]

Bases: openstack_dashboard.api.base.APIDictWrapper

Simple APIDict for testing.

static APIDict.get_instance(innerDict=None)[source]
class openstack_dashboard.test.api_tests.base_tests.APIDictWrapperTests(methodName='runTest')[source]

Bases: openstack_dashboard.test.helpers.TestCase

APIDictWrapperTests.test_get_inner_missing_attribute()[source]
APIDictWrapperTests.test_get_invalid_item()[source]
APIDictWrapperTests.test_get_item()[source]
APIDictWrapperTests.test_get_with_default()[source]
class openstack_dashboard.test.api_tests.base_tests.APIResource(apiresource)[source]

Bases: openstack_dashboard.api.base.APIResourceWrapper

Simple APIResource for testing.

static APIResource.get_instance(innerObject=None)[source]
class openstack_dashboard.test.api_tests.base_tests.APIResourceWrapperTests(methodName='runTest')[source]

Bases: openstack_dashboard.test.helpers.TestCase

APIResourceWrapperTests.test_get_attribute()[source]
APIResourceWrapperTests.test_get_inner_missing_attribute()[source]
APIResourceWrapperTests.test_get_invalid_attribute()[source]
APIResourceWrapperTests.test_repr()[source]
class openstack_dashboard.test.api_tests.base_tests.ApiHelperTests(methodName='runTest')[source]

Bases: openstack_dashboard.test.helpers.TestCase

Tests for functions that don’t use one of the api objects.

ApiHelperTests.test_url_for()[source]
class openstack_dashboard.test.api_tests.base_tests.QuotaSetTests(methodName='runTest')[source]

Bases: openstack_dashboard.test.helpers.TestCase

QuotaSetTests.test_quotaset_add_doesnt_override_existing_quota()[source]
QuotaSetTests.test_quotaset_add_method()[source]
QuotaSetTests.test_quotaset_add_with_plus()[source]
QuotaSetTests.test_quotaset_add_with_wrong_type()[source]

Previous topic

The openstack_dashboard.test.api_tests.vpnaas_tests Module

Next topic

The openstack_dashboard.test.api_tests.heat_tests Module

This Page