kubernetes.aio.dynamic.client_test module

class kubernetes.aio.dynamic.client_test.TestDynamicClient(methodName='runTest')

Bases: IsolatedAsyncioTestCase

classmethod setUpClass()

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

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

Bases: IsolatedAsyncioTestCase

classmethod setUpClass()

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

async test_dict_type()
async test_resource_field()

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()
kubernetes.aio.dynamic.client_test.short_uuid()