Base classes for DB backend implementation test
-
class panko.tests.functional.storage.test_storage_scenarios.EventTTLTest(*args, **kwds)[source]
Bases: panko.tests.functional.storage.test_storage_scenarios.EventTestBase
-
test_clear_expired_data(*args, **kwargs)[source]
-
class panko.tests.functional.storage.test_storage_scenarios.EventTest(*args, **kwds)[source]
Bases: panko.tests.functional.storage.test_storage_scenarios.EventTestBase
-
test_bad_event(*args, **kwargs)[source]
-
test_duplicate_message_id(*args, **kwargs)[source]
-
class panko.tests.functional.storage.test_storage_scenarios.EventTestBase(*args, **kwds)[source]
Bases: panko.tests.db.TestBase
Separate test base class.
We don’t want to inherit all the Meter stuff.
-
prepare_data()[source]
-
setUp(*args, **kwargs)[source]
-
class panko.tests.functional.storage.test_storage_scenarios.GetEventTest(*args, **kwds)[source]
Bases: panko.tests.functional.storage.test_storage_scenarios.EventTestBase
-
test_generated_is_datetime(*args, **kwargs)[source]
-
test_get_all_traits(*args, **kwargs)[source]
-
test_get_by_message_id(*args, **kwargs)[source]
-
test_get_event_multiple_trait_filter(*args, **kwargs)[source]
-
test_get_event_multiple_trait_filter_expect_none(*args, **kwargs)[source]
-
test_get_event_trait_filter(*args, **kwargs)[source]
-
test_get_event_trait_filter_op_datetime(*args, **kwargs)[source]
-
test_get_event_trait_filter_op_float(*args, **kwargs)[source]
-
test_get_event_trait_filter_op_integer(*args, **kwargs)[source]
-
test_get_event_trait_filter_op_string(*args, **kwargs)[source]
-
test_get_event_types(*args, **kwargs)[source]
-
test_get_trait_types(*args, **kwargs)[source]
-
test_get_trait_types_unknown_event(*args, **kwargs)[source]
-
test_get_traits(*args, **kwargs)[source]
-
test_simple_get(*args, **kwargs)[source]
-
test_simple_get_event_no_traits(*args, **kwargs)[source]
-
test_simple_get_event_type(*args, **kwargs)[source]
-
test_simple_get_no_filters(*args, **kwargs)[source]
-
test_simple_get_raw(*args, **kwargs)[source]
-
test_trait_type_enforced_on_none(*args, **kwargs)[source]