The magnumclient.tests.test_httpclient Module

The magnumclient.tests.test_httpclient Module

class magnumclient.tests.test_httpclient.HttpClientTest(*args, **kwargs)

Bases: magnumclient.tests.utils.BaseTestCase

test_401_unauthorized_exception()
test_get_connection()
test_get_connection_exception()
test_get_connection_params_with_ssl()
test_get_connection_params_with_ssl_params()
test_get_connection_params_with_subpath()
test_get_connection_params_with_subpath_trailing_slash()
test_get_connection_params_with_subpath_version()
test_get_connection_params_with_subpath_version_trailing_slash()
test_get_connection_params_with_timeout()
test_get_connection_params_with_unsupported_scheme()
test_get_connection_params_with_version()
test_get_connection_params_with_version_trailing_slash()
test_raw_request()
test_server_body_undecode_json()
test_server_exception_address()
test_server_exception_empty_body()
test_server_exception_endpoint()
test_server_exception_msg_and_traceback()
test_server_exception_msg_only()
test_server_exception_socket()
test_server_redirect_exception()
test_server_success_body_app()
test_server_success_body_json()
test_server_success_body_none()
test_url_generation_prefix_slash_in_path()
test_url_generation_trailing_slash_in_base()
test_url_generation_without_prefix_slash_in_path()
test_url_generation_without_trailing_slash_in_base()
class magnumclient.tests.test_httpclient.SessionClientTest(*args, **kwargs)

Bases: magnumclient.tests.utils.BaseTestCase

test_bypass_url()
test_construct_http_client_return_httpclient()
test_construct_http_client_return_sessionclient()
test_exception()
test_raw_request()
test_server_exception_empty_body()
test_server_exception_msg_and_traceback()
Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.