keystone.tests.unit.common.test_cache.
TestCacheRegion
(*args, **kwargs)[source]¶Bases: keystone.tests.unit.core.BaseTestCase
test_direct_region_key_invalidation
()[source]¶Invalidate by manually clearing the region key’s value.
NOTE(dstanek): I normally don’t like tests that repeat application logic, but in this case we need to. There are too many ways that the tests above can erroneosly pass that we need this sanity check.
keystone.tests.unit.common.test_notifications.
ArbitraryException
[source]¶Bases: exceptions.Exception
keystone.tests.unit.common.test_notifications.
AuditNotificationsTestCase
(*args, **kwargs)[source]¶keystone.tests.unit.common.test_notifications.
CADFNotificationsDataTestCase
(*args, **kwargs)[source]¶keystone.tests.unit.common.test_notifications.
CADFNotificationsForEntities
(*args, **kwargs)[source]¶Bases: keystone.tests.unit.common.test_notifications.NotificationsForEntities
keystone.tests.unit.common.test_notifications.
CADFNotificationsForPCIDSSEvents
(*args, **kwargs)[source]¶Bases: keystone.tests.unit.common.test_notifications.BaseNotificationTest
keystone.tests.unit.common.test_notifications.
CadfNotificationsWrapperTestCase
(*args, **kwargs)[source]¶Bases: keystone.tests.unit.test_v3.RestfulTestCase
ACTION
= 'authenticate'¶LOCAL_HOST
= 'localhost'¶ROLE_ASSIGNMENT
= 'role_assignment'¶keystone.tests.unit.common.test_notifications.
NotificationsForEntities
(*args, **kwargs)[source]¶Bases: keystone.tests.unit.common.test_notifications.BaseNotificationTest
keystone.tests.unit.common.test_notifications.
NotificationsTestCase
(*args, **kwargs)[source]¶Bases: keystone.tests.unit.core.BaseTestCase
test_opt_out_authenticate_event
()[source]¶Test that authenticate events are successfully opted out.
test_send_audit_notification_with_opt_out
()[source]¶Test the private method _send_audit_notification with opt-out.
Test that _send_audit_notification does not notify when a valid notification_opt_out configuration is provided.
keystone.tests.unit.common.test_notifications.
TestCallbackRegistration
(*args, **kwargs)[source]¶keystone.tests.unit.common.test_sql_core.
TestModel
(**kwargs)[source]¶Bases: sqlalchemy.ext.declarative.api.Base
, keystone.common.sql.core.ModelDictMixin
id
¶text
¶keystone.tests.unit.common.test_utils.
UtilsTestCase
(*args, **kwargs)[source]¶Bases: keystone.tests.unit.core.BaseTestCase
OPTIONAL
= <object object>¶Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.