kubernetes_asyncio.dynamic.client_test module

class kubernetes_asyncio.dynamic.client_test.TestDynamicClient(methodName='runTest')

Bases: IsolatedAsyncioTestCase

config: Configuration
classmethod setUpClass() None

Hook method for setting up class fixture before running tests in the class.

async test_cluster_custom_resources() None
async test_configmap_apis() None
async test_namespaced_custom_resources() None
async test_node_apis() None
async test_node_apis_partial_object_metadata() None
async test_replication_controller_apis() None
async test_server_side_apply_api() None
async test_service_apis() None
class kubernetes_asyncio.dynamic.client_test.TestDynamicClientSerialization(methodName='runTest')

Bases: IsolatedAsyncioTestCase

config: Configuration
pod_manifest: dict[str, Any]
classmethod setUpClass() None

Hook method for setting up class fixture before running tests in the class.

async test_dict_type() None
async test_resource_field() None

ResourceField is a special type which overwrites __getattr__ method to return None when a non-existent attribute was accessed. which means it can pass any hasattr(…) tests.

async test_resource_instance_type() None
kubernetes_asyncio.dynamic.client_test.short_uuid() str