The ceilometer.tests.unit.pipeline_base Module

class ceilometer.tests.unit.pipeline_base.BasePipelineTestCase(*args, **kwds)[source]

Bases: ceilometer.tests.base.BaseTestCase

class PublisherClassException(conf, parsed_url)[source]

Bases: ceilometer.publisher.ConfigPublisherBase

publish_events(events)[source]
publish_samples(samples)[source]
class BasePipelineTestCase.TransformerClass(append_name='_update')[source]

Bases: ceilometer.transformer.TransformerBase

static flush()[source]
handle_sample(counter)[source]
class BasePipelineTestCase.TransformerClassDrop[source]

Bases: ceilometer.transformer.TransformerBase

handle_sample(counter)[source]
class BasePipelineTestCase.TransformerClassException[source]

Bases: object

static handle_sample(counter)[source]
BasePipelineTestCase.fake_tem_get_ext(name)[source]
static BasePipelineTestCase.fake_tem_init()[source]

Fake a transformerManager for pipeline.

The faked entry point setting is below: update: TransformerClass except: TransformerClassException drop: TransformerClassDrop

BasePipelineTestCase.get_publisher(conf, url, namespace='')[source]
BasePipelineTestCase.setUp()[source]
BasePipelineTestCase.test_aggregator_all_first()[source]
BasePipelineTestCase.test_aggregator_all_last()[source]
BasePipelineTestCase.test_aggregator_all_mixed()[source]
BasePipelineTestCase.test_aggregator_metadata()[source]
BasePipelineTestCase.test_aggregator_metadata_default()[source]
BasePipelineTestCase.test_aggregator_metadata_invalid(*args, **keywargs)[source]
BasePipelineTestCase.test_aggregator_meter_type()[source]
BasePipelineTestCase.test_aggregator_sized_flush()[source]
BasePipelineTestCase.test_aggregator_timed_flush()[source]
BasePipelineTestCase.test_aggregator_timed_flush_no_matching_samples()[source]
BasePipelineTestCase.test_aggregator_to_rate_of_change_transformer_two_resources()[source]
BasePipelineTestCase.test_aggregator_user_first_and_metadata_last()[source]
BasePipelineTestCase.test_aggregator_user_last_and_metadata_last()[source]
BasePipelineTestCase.test_aggregator_without_authentication()[source]
BasePipelineTestCase.test_all_excluded_counters_is_excluded()[source]
BasePipelineTestCase.test_all_excluded_counters_not_excluded()[source]
BasePipelineTestCase.test_arithmetic_expr_parse()[source]
BasePipelineTestCase.test_arithmetic_expr_parse_already_escaped()[source]
BasePipelineTestCase.test_arithmetic_expr_parse_parameter()[source]
BasePipelineTestCase.test_arithmetic_expr_parse_reserved_keyword()[source]
BasePipelineTestCase.test_arithmetic_transformer()[source]
BasePipelineTestCase.test_arithmetic_transformer_cache_cleared()[source]
BasePipelineTestCase.test_arithmetic_transformer_exception()[source]
BasePipelineTestCase.test_arithmetic_transformer_expr_empty()[source]
BasePipelineTestCase.test_arithmetic_transformer_expr_misconfigured()[source]
BasePipelineTestCase.test_arithmetic_transformer_missing()[source]
BasePipelineTestCase.test_arithmetic_transformer_more_than_needed()[source]
BasePipelineTestCase.test_arithmetic_transformer_multiple_samples()[source]
BasePipelineTestCase.test_arithmetic_transformer_nan()[source]
BasePipelineTestCase.test_check_counters_include_exclude()[source]
BasePipelineTestCase.test_check_counters_include_exclude_same()[source]
BasePipelineTestCase.test_check_counters_wildcard_included()[source]
BasePipelineTestCase.test_check_publishers_invalid_publisher()[source]
BasePipelineTestCase.test_check_transformer_invalid_transformer()[source]
BasePipelineTestCase.test_counter_dont_match()[source]
BasePipelineTestCase.test_delta_transformer()[source]
BasePipelineTestCase.test_delta_transformer_growth_only()[source]
BasePipelineTestCase.test_delta_transformer_out_of_order()[source]
BasePipelineTestCase.test_empty_transformer_pipeline()[source]
BasePipelineTestCase.test_excluded_counter_and_excluded_wildcard_counters()[source]
BasePipelineTestCase.test_fake_volume_counter(*args, **keywargs)[source]
BasePipelineTestCase.test_flush_pipeline_cache()[source]
BasePipelineTestCase.test_flush_pipeline_cache_before_publisher()[source]
BasePipelineTestCase.test_flush_pipeline_cache_multiple_counter()[source]
BasePipelineTestCase.test_get_pipeline_duplicate_grouping_key()[source]
BasePipelineTestCase.test_get_pipeline_grouping_key()[source]
BasePipelineTestCase.test_global_unit_conversion()[source]
BasePipelineTestCase.test_included_counter_and_wildcard_counters()[source]
BasePipelineTestCase.test_multiple_counter_pipeline()[source]
BasePipelineTestCase.test_multiple_included_counters()[source]
BasePipelineTestCase.test_multiple_pipeline()[source]
BasePipelineTestCase.test_multiple_pipeline_exception()[source]
BasePipelineTestCase.test_multiple_publisher()[source]
BasePipelineTestCase.test_multiple_publisher_isolation()[source]
BasePipelineTestCase.test_multiple_transformer_drop_transformer()[source]
BasePipelineTestCase.test_multiple_transformer_same_class()[source]
BasePipelineTestCase.test_multiple_transformer_same_class_different_parameter()[source]
BasePipelineTestCase.test_no_meters()[source]
BasePipelineTestCase.test_no_name()[source]
BasePipelineTestCase.test_no_publishers()[source]
BasePipelineTestCase.test_no_transformers()[source]
BasePipelineTestCase.test_none_transformer_pipeline()[source]
BasePipelineTestCase.test_none_volume_counter(*args, **keywargs)[source]
BasePipelineTestCase.test_publisher_transformer_invoked()[source]
BasePipelineTestCase.test_rate_of_change_conversion()[source]
BasePipelineTestCase.test_rate_of_change_conversion_negative_cumulative_delta()[source]
BasePipelineTestCase.test_rate_of_change_conversion_negative_gauge_delta()[source]
BasePipelineTestCase.test_rate_of_change_conversion_weight()[source]
BasePipelineTestCase.test_rate_of_change_conversion_zero_delay()[source]
BasePipelineTestCase.test_rate_of_change_mapping()[source]
BasePipelineTestCase.test_rate_of_change_no_predecessor()[source]
BasePipelineTestCase.test_rate_of_change_out_of_order(*args, **keywargs)[source]
BasePipelineTestCase.test_unique_pipeline_names()[source]
BasePipelineTestCase.test_unit_identified_source_unit_conversion(*args, **kwargs)[source]
BasePipelineTestCase.test_wildcard_and_excluded_wildcard_counters()[source]
BasePipelineTestCase.test_wildcard_counter()[source]
BasePipelineTestCase.test_wildcard_excluded_counters()[source]
BasePipelineTestCase.test_wildcard_excluded_counters_not_excluded()[source]

Project Source

This Page