kubernetes.dynamic.test_client module

class kubernetes.dynamic.test_client.TestDynamicClient(methodName='runTest')

Bases: TestCase

classmethod setUpClass()

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

test_async_namespaced_custom_resources()
test_cluster_custom_resources()
test_configmap_apis()
test_namespaced_custom_resources()
test_node_apis()
test_node_apis_partial_object_metadata()
test_replication_controller_apis()
test_server_side_apply_api()
test_service_apis()
class kubernetes.dynamic.test_client.TestDynamicClientSerialization(methodName='runTest')

Bases: TestCase

classmethod setUpClass()

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

test_dict_type()
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.

test_resource_instance_type()
kubernetes.dynamic.test_client.short_uuid()