The ironicclient.tests.unit.common.test_http Module

class ironicclient.tests.unit.common.test_http.HttpClientTest(*args, **kwargs)[source]

Bases: ironicclient.tests.unit.utils.BaseTestCase

test_401_unauthorized_exception()[source]
test__http_request_client_fallback_fail(*args, **keywargs)[source]
test__http_request_client_fallback_success(*args, **keywargs)[source]
test__https_init_ssl_args_insecure()[source]
test__https_init_ssl_args_secure()[source]
test__parse_version_headers()[source]
test_http_request_not_valid_request()[source]
test_log_curl_request_mask_password(*args, **keywargs)[source]
test_log_curl_request_with_body_and_header(*args, **keywargs)[source]
test_log_curl_request_with_certs(*args, **keywargs)[source]
test_log_curl_request_with_insecure_param(*args, **keywargs)[source]
test_log_http_response_mask_password(*args, **keywargs)[source]
test_server_exception_empty_body()[source]
test_server_exception_msg_only()[source]
test_server_https_empty_body()[source]
test_server_https_request_ok()[source]
test_url_generation_trailing_slash_in_base()[source]
test_url_generation_without_prefix_slash_in_path()[source]
test_url_generation_without_trailing_slash_in_base()[source]
class ironicclient.tests.unit.common.test_http.RetriesTestCase(*args, **kwargs)[source]

Bases: ironicclient.tests.unit.utils.BaseTestCase

test_http_change_max_retries(*args, **keywargs)[source]
test_http_failed_retry(*args, **keywargs)[source]
test_http_max_retries_none(*args, **keywargs)[source]
test_http_no_retry(*args, **keywargs)[source]
test_http_retry(*args, **keywargs)[source]
test_http_retry_503(*args, **keywargs)[source]
test_http_retry_connection_refused(*args, **keywargs)[source]
test_session_change_max_retries(*args, **keywargs)[source]
test_session_max_retries_none(*args, **keywargs)[source]
test_session_retry(*args, **keywargs)[source]
test_session_retry_503(*args, **keywargs)[source]
test_session_retry_connection_refused(*args, **keywargs)[source]
test_session_retry_fail(*args, **keywargs)[source]
test_session_retry_retriable_connection_failure(*args, **keywargs)[source]
class ironicclient.tests.unit.common.test_http.SessionClientTest(*args, **kwargs)[source]

Bases: ironicclient.tests.unit.utils.BaseTestCase

test__parse_version_headers()[source]
test_endpoint_override()[source]
test_endpoint_override_not_valid()[source]
test_endpoint_override_with_version()[source]
test_server_exception_empty_body()[source]
class ironicclient.tests.unit.common.test_http.VersionNegotiationMixinTest(*args, **kwargs)[source]

Bases: ironicclient.tests.unit.utils.BaseTestCase

setUp()[source]
test__generic_parse_version_headers_has_headers()[source]
test__generic_parse_version_headers_missing_headers()[source]
test_get_server()[source]
test_negotiate_version_bad_state(*args, **keywargs)[source]
test_negotiate_version_server_explicit_not_supported(*args, **keywargs)[source]
test_negotiate_version_server_explicit_too_high(*args, **keywargs)[source]
test_negotiate_version_server_newer(*args, **keywargs)[source]
test_negotiate_version_server_no_version_on_error(*args, **keywargs)[source]
test_negotiate_version_server_older(*args, **keywargs)[source]

Previous topic

The ironicclient.tests.unit.common.test_filecache Module

Next topic

The ironicclient.tests.unit.common.test_utils Module

Project Source

This Page