The watcherclient.tests.unit.test_client Module

class watcherclient.tests.unit.test_client.ClientTest(*args, **kwargs)[source]

Bases: watcherclient.tests.unit.utils.BaseTestCase

test_correct_arguments_passed_to_client_constructor_noauth_mode(*args, **keywargs)[source]
test_correct_arguments_passed_to_client_constructor_session_created(*args, **keywargs)[source]
test_correct_arguments_passed_to_client_constructor_session_passed(*args, **keywargs)[source]
test_get_client_incorrect_auth_params()[source]
test_get_client_incorrect_session_passed()[source]
test_get_client_no_auth_token()[source]
test_get_client_no_url()[source]
test_get_client_only_session_passed()[source]
test_get_client_service_and_endpoint_type_defaults()[source]
test_get_client_with_api_version_latest()[source]
test_get_client_with_api_version_numeric()[source]
test_get_client_with_auth_token()[source]
test_get_client_with_auth_token_watcher_url()[source]
test_get_client_with_region_name_auth_token()[source]
test_get_client_with_region_no_auth_token()[source]
test_loader_arguments_password_project_id()[source]
test_loader_arguments_password_tenant_name()[source]
test_loader_arguments_token()[source]
test_safe_header_with_auth_token()[source]
test_safe_header_with_no_auth_token()[source]