keystonemiddleware.tests.unit.audit package

keystonemiddleware.tests.unit.audit package

Submodules

keystonemiddleware.tests.unit.audit.base module

class keystonemiddleware.tests.unit.audit.base.BaseAuditMiddlewareTest(*args, **kwds)

Bases: keystonemiddleware.tests.unit.utils.MiddlewareTestCase

PROJECT_NAME = 'keystonemiddleware'
audit_map
create_middleware(cb, **kwargs)
static get_environ_header(req_type=None)
setUp()

keystonemiddleware.tests.unit.audit.test_audit_api module

class keystonemiddleware.tests.unit.audit.test_audit_api.AuditApiLogicTest(*args, **kwds)

Bases: keystonemiddleware.tests.unit.audit.base.BaseAuditMiddlewareTest

get_payload(method, url, audit_map=None, body=None, environ=None)
test_custom_action()
test_custom_action_complex()
test_delete()
test_endpoint_missing_admin_url()
test_endpoint_missing_internal_url()
test_endpoint_missing_public_url()
test_get_list()
test_get_read()
test_get_unknown_endpoint()
test_get_unknown_endpoint_default_set()
test_head()
test_missing_catalog_endpoint_id()
test_no_auth_token()
test_post_action()
test_post_create()
test_post_empty_body_action()
test_post_update()
test_put()
test_response_mod_msg()

keystonemiddleware.tests.unit.audit.test_audit_middleware module

class keystonemiddleware.tests.unit.audit.test_audit_middleware.AuditMiddlewareTest(*args, **kwds)

Bases: keystonemiddleware.tests.unit.audit.base.BaseAuditMiddlewareTest

setUp()
test_api_request()
test_api_request_failure()
test_cadf_event_context_scoped()
test_cadf_event_scoped_to_request()
test_cadf_event_scoped_to_request_on_error()
test_ignore_req_opt()
test_missing_req()
test_no_response()
test_process_request_fail()
test_process_response_fail()
test_project_name_from_local_config()
test_project_name_from_oslo_config()

keystonemiddleware.tests.unit.audit.test_audit_oslo_messaging module

class keystonemiddleware.tests.unit.audit.test_audit_oslo_messaging.AuditNotifierConfigTest(*args, **kwds)

Bases: keystonemiddleware.tests.unit.audit.base.BaseAuditMiddlewareTest

test_conf_middleware_log_and_default_as_messaging()
test_conf_middleware_log_and_oslo_msg_as_messaging()
test_conf_middleware_messaging_and_oslo_msg_as_log()
test_conf_middleware_messaging_and_transport_set(*args, **keywargs)
test_do_not_use_oslo_messaging()
test_with_no_middleware_notification_conf()

keystonemiddleware.tests.unit.audit.test_logging_notifier module

class keystonemiddleware.tests.unit.audit.test_logging_notifier.TestLoggingNotifier(*args, **kwds)

Bases: keystonemiddleware.tests.unit.audit.base.BaseAuditMiddlewareTest

setUp()
test_api_request_no_messaging()

Module contents

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.