The panko.tests.functional.api.v2.test_event_scenarios Module

The panko.tests.functional.api.v2.test_event_scenarios Module

Test event, event_type and trait retrieval.

class panko.tests.functional.api.v2.test_event_scenarios.AclRestrictedEventTestBase(*args, **kwds)[source]

Bases: panko.tests.functional.api.v2.FunctionalTest

setUp(**kwargs)[source]

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

test_admin_access(**kwargs)[source]
test_admin_access_all(**kwargs)[source]
test_admin_access_single(**kwargs)[source]
test_admin_access_trait_filter(**kwargs)[source]
test_admin_access_trait_filter_no_access(**kwargs)[source]
test_non_admin_access(**kwargs)[source]
test_non_admin_access_incorrect_proj(**kwargs)[source]
test_non_admin_access_incorrect_user(**kwargs)[source]
test_non_admin_access_single(**kwargs)[source]
test_non_admin_access_single_invalid(**kwargs)[source]
class panko.tests.functional.api.v2.test_event_scenarios.EventRestrictionTestBase(*args, **kwds)[source]

Bases: panko.tests.functional.api.v2.FunctionalTest

setUp(**kwargs)[source]

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

class panko.tests.functional.api.v2.test_event_scenarios.EventTestBase(*args, **kwds)[source]

Bases: panko.tests.functional.api.v2.FunctionalTest

setUp(**kwargs)[source]

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

class panko.tests.functional.api.v2.test_event_scenarios.TestEventAPI(*args, **kwds)[source]

Bases: panko.tests.functional.api.v2.test_event_scenarios.EventTestBase

test_get_event_by_message_id(**kwargs)[source]
test_get_event_by_message_id_no_such_id(**kwargs)[source]
test_get_events(**kwargs)[source]
test_get_events_filter_datetime_trait(**kwargs)[source]
test_get_events_filter_end_timestamp(**kwargs)[source]
test_get_events_filter_end_timestamp_invalid_op(**kwargs)[source]
test_get_events_filter_event_type(**kwargs)[source]
test_get_events_filter_float_trait(**kwargs)[source]
test_get_events_filter_int_trait(**kwargs)[source]
test_get_events_filter_op_datatime(**kwargs)[source]
test_get_events_filter_op_float(**kwargs)[source]
test_get_events_filter_op_integer(**kwargs)[source]
test_get_events_filter_op_string(**kwargs)[source]
test_get_events_filter_operator_invalid_type(**kwargs)[source]
test_get_events_filter_start_end_timestamp(**kwargs)[source]
test_get_events_filter_start_timestamp(**kwargs)[source]
test_get_events_filter_start_timestamp_invalid_op(**kwargs)[source]
test_get_events_filter_text_trait(**kwargs)[source]
test_get_events_filter_trait_empty_type(**kwargs)[source]
test_get_events_filter_trait_invalid_type(**kwargs)[source]
test_get_events_filter_trait_no_type(**kwargs)[source]
test_get_events_filter_wrong_op(**kwargs)[source]
test_get_events_multiple_filters(**kwargs)[source]
test_get_events_multiple_filters_no_matches(**kwargs)[source]
test_get_events_multiple_filters_same_field_different_values(**kwargs)[source]
test_get_events_not_filters(**kwargs)[source]
class panko.tests.functional.api.v2.test_event_scenarios.TestEventRestriction(*args, **kwds)[source]

Bases: panko.tests.functional.api.v2.test_event_scenarios.EventRestrictionTestBase

test_get_default_limit(**kwargs)[source]
test_get_limit(**kwargs)[source]
test_get_limit_bigger(**kwargs)[source]
test_get_limit_negative(**kwargs)[source]
class panko.tests.functional.api.v2.test_event_scenarios.TestEventSort(*args, **kwds)[source]

Bases: panko.tests.functional.api.v2.test_event_scenarios.EventTestBase

test_get_limit_decr(**kwargs)[source]
test_get_limit_incr(**kwargs)[source]
test_invalid_sort_dir(**kwargs)[source]
test_invalid_sort_key(**kwargs)[source]
test_paginate_query(**kwargs)[source]
test_sort_message_id(**kwargs)[source]
class panko.tests.functional.api.v2.test_event_scenarios.TestEventTypeAPI(*args, **kwds)[source]

Bases: panko.tests.functional.api.v2.test_event_scenarios.EventTestBase

test_event_types(**kwargs)[source]
class panko.tests.functional.api.v2.test_event_scenarios.TestTraitAPI(*args, **kwds)[source]

Bases: panko.tests.functional.api.v2.test_event_scenarios.EventTestBase

test_get_event_invalid_path(**kwargs)[source]
test_get_trait_data_for_event(**kwargs)[source]
test_get_trait_data_for_non_existent_event(**kwargs)[source]
test_get_trait_data_for_non_existent_trait(**kwargs)[source]
test_get_traits_for_event(**kwargs)[source]
test_get_traits_for_non_existent_event(**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.