Test the methods related to query.
- 
class ceilometer.tests.unit.api.v2.test_query.TestQuery(*args, **kwds)[source]
 
Bases: oslotest.base.BaseTestCase
- 
setUp()[source]
 
- 
test_event_query_to_event_filter_with_bad_op()[source]
 
- 
test_get_value_as_type_boolean_expression_without_type()[source]
 
- 
test_get_value_as_type_integer_expression_without_type()[source]
 
- 
test_get_value_as_type_with_bad_type()[source]
 
- 
test_get_value_as_type_with_bad_value()[source]
 
- 
test_get_value_as_type_with_boolean()[source]
 
- 
test_get_value_as_type_with_boolean_without_type()[source]
 
- 
test_get_value_as_type_with_datetime()[source]
 
- 
test_get_value_as_type_with_float()[source]
 
- 
test_get_value_as_type_with_float_without_type()[source]
 
- 
test_get_value_as_type_with_integer()[source]
 
- 
test_get_value_as_type_with_integer_without_type()[source]
 
- 
test_get_value_as_type_with_string()[source]
 
- 
test_get_value_as_type_with_string_without_type()[source]
 
- 
test_get_value_as_type_with_syntax_error()[source]
 
- 
test_get_value_as_type_with_syntax_error_colons()[source]
 
- 
class ceilometer.tests.unit.api.v2.test_query.TestQueryToKwArgs(*args, **kwds)[source]
 
Bases: ceilometer.tests.base.BaseTestCase
- 
setUp()[source]
 
- 
test_get_meters_filter_valid_fields()[source]
 
- 
test_get_resources_filter_valid_fields()[source]
 
- 
test_sample_filter_exclude_internal()[source]
 
- 
test_sample_filter_invalid_field()[source]
 
- 
test_sample_filter_invalid_op()[source]
 
- 
test_sample_filter_meta()[source]
 
- 
test_sample_filter_multi()[source]
 
- 
test_sample_filter_non_equality_on_metadata()[source]
 
- 
test_sample_filter_self_always_excluded()[source]
 
- 
test_sample_filter_single()[source]
 
- 
test_sample_filter_timestamp()[source]
 
- 
test_sample_filter_timestamp_invalid_op()[source]
 
- 
test_sample_filter_translation()[source]
 
- 
test_sample_filter_valid_fields()[source]
 
- 
test_timestamp_validation()[source]
 
- 
class ceilometer.tests.unit.api.v2.test_query.TestValidateGroupByFields(*args, **kwds)[source]
 
Bases: oslotest.base.BaseTestCase
- 
test_duplicate_fields()[source]
 
- 
test_invalid_field()[source]
 
- 
test_invalid_field_multiple()[source]
 
- 
test_valid_field()[source]
 
- 
test_valid_fields_multiple()[source]