kubernetes_asyncio.watch.watch_test module

class kubernetes_asyncio.watch.watch_test.WatchTest(methodName='runTest')

Bases: IsolatedAsyncioTestCase

async test_unmarshal_bookmark_succeeds_and_preserves_resource_version() None
async test_unmarshal_job_bookmark_succeeds_and_preserves_resource_version() None
async test_unmarshal_with_custom_object() None
async test_unmarshal_with_empty_return_type() None
async test_unmarshal_with_float_object() None
async test_unmarshal_without_return_type() None
async test_unmarshall_job_bookmark_malformed_object_fails() None
async test_unmarshall_k8s_error_response() None

Never parse messages of type ERROR.

This test uses an actually recorded error, in this case for an outdated resource version.

async test_unmarshall_k8s_error_response_401_gke() None

Never parse messages of type ERROR.

This test uses an actually recorded error returned by GKE.

async test_watch_for_follow() None
async test_watch_k8s_empty_response() None

Stop the iterator when the response is empty.

This typically happens when the user supplied timeout expires.

async test_watch_retry_410() None
async test_watch_retry_timeout() None
async test_watch_timeout_with_resource_version() None
async test_watch_with_decode() None
async test_watch_with_exception() None