The ceilometer.tests.unit.event.test_converter Module

class ceilometer.tests.unit.event.test_converter.ConverterBase(*args, **kwds)[source]

Bases: ceilometer.tests.base.BaseTestCase

assertDoesNotHaveTrait(event, name)[source]
assertHasDefaultTraits(event)[source]
assertHasTrait(event, name, value=None, dtype=None)[source]
assertIsNotValidEvent(event, notification)[source]
assertIsValidEvent(event, notification)[source]
assertPathsEqual(path1, path2)[source]
class ceilometer.tests.unit.event.test_converter.TestEventDefinition(*args, **kwds)[source]

Bases: ceilometer.tests.unit.event.test_converter.ConverterBase

setUp()[source]
test_bogus_cfg_no_traits()[source]
test_bogus_cfg_no_type()[source]
test_catchall()[source]
test_default_traits()[source]
test_excluded_type_list()[source]
test_excluded_type_string()[source]
test_extract_when(*args, **keywargs)[source]
test_included_type_list()[source]
test_included_type_string()[source]
test_mixed_type_list()[source]
test_to_event()[source]
test_to_event_missing_trait()[source]
test_to_event_null_trait()[source]
test_traits()[source]
class ceilometer.tests.unit.event.test_converter.TestNotificationConverter(*args, **kwds)[source]

Bases: ceilometer.tests.unit.event.test_converter.ConverterBase

setUp()[source]
test_converter_empty_cfg_with_catchall()[source]
test_converter_empty_cfg_without_catchall()[source]
test_converter_missing_keys(*args, **keywargs)[source]
test_converter_with_catchall()[source]
test_converter_without_catchall()[source]
test_setup_events_default_config()[source]
test_store_raw_all()[source]
test_store_raw_bad_and_good()[source]
test_store_raw_bad_skip_all()[source]
test_store_raw_error_only()[source]
test_store_raw_info_only()[source]
test_store_raw_info_only_no_case()[source]
test_store_raw_skip_all()[source]
class ceilometer.tests.unit.event.test_converter.TestTraitDefinition(*args, **kwds)[source]

Bases: ceilometer.tests.unit.event.test_converter.ConverterBase

setUp()[source]
test_invalid_path_config()[source]
test_invalid_plugin_config()[source]
test_invalid_type_config()[source]
test_list_fields_config()[source]
test_missing_fields_config()[source]
test_string_fields_config()[source]
test_to_trait()[source]
test_to_trait_empty_nontext()[source]
test_to_trait_missing()[source]
test_to_trait_multiple()[source]
test_to_trait_multiple_different_nesting()[source]
test_to_trait_multiple_null_missing()[source]
test_to_trait_null()[source]
test_to_trait_null_match_with_plugin()[source]
test_to_trait_some_missing_multiple()[source]
test_to_trait_some_null_multiple()[source]
test_to_trait_with_plugin()[source]
test_to_trait_with_plugin_null()[source]
test_to_trait_with_plugin_with_parameters()[source]
test_type_config()[source]
test_unknown_plugin()[source]

Previous topic

The ceilometer.tests.unit.energy.test_kwapi Module

Next topic

The ceilometer.tests.unit.event.test_endpoint Module

Project Source

This Page