The panko.tests.functional.storage.test_storage_scenarios Module

The panko.tests.functional.storage.test_storage_scenarios Module

Base classes for DB backend implementation test

class panko.tests.functional.storage.test_storage_scenarios.BigIntegerTest(*args, **kwds)[source]

Bases: panko.tests.functional.storage.test_storage_scenarios.EventTestBase

test_trait_bigint(**kwargs)[source]
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(**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(**kwargs)[source]
test_duplicate_message_id(**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(**kwargs)[source]

Hook method for setting up the test fixture before exercising it.

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(**kwargs)[source]
test_get_all_traits(**kwargs)[source]
test_get_by_message_id(**kwargs)[source]
test_get_event_multiple_trait_filter(**kwargs)[source]
test_get_event_multiple_trait_filter_expect_none(**kwargs)[source]
test_get_event_trait_filter(**kwargs)[source]
test_get_event_trait_filter_op_datetime(**kwargs)[source]
test_get_event_trait_filter_op_float(**kwargs)[source]
test_get_event_trait_filter_op_integer(**kwargs)[source]
test_get_event_trait_filter_op_string(**kwargs)[source]
test_get_event_types(**kwargs)[source]
test_get_trait_types(**kwargs)[source]
test_get_trait_types_unknown_event(**kwargs)[source]
test_get_traits(**kwargs)[source]
test_simple_get(**kwargs)[source]
test_simple_get_event_no_traits(**kwargs)[source]
test_simple_get_event_type(**kwargs)[source]
test_simple_get_no_filters(**kwargs)[source]
test_simple_get_raw(**kwargs)[source]
test_trait_type_enforced_on_none(**kwargs)[source]
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.