ceilometer.tests.functional.api.v2.test_post_samples_scenarios
Module¶Test listing raw events.
ceilometer.tests.functional.api.v2.test_post_samples_scenarios.
TestPostSamples
(*args, **kwds)[source]¶Bases: ceilometer.tests.functional.api.v2.FunctionalTest
test_missing_mandatory_fields
(*args, **kwargs)[source]¶Do not accept posting samples with missing mandatory fields.
test_missing_project_user_id
(*args, **kwargs)[source]¶Ensure missing project & user IDs are defaulted appropriately.
test_multiple_project_id_and_admin
(*args, **kwargs)[source]¶Allow admin is allowed to set multiple project_id.
test_multiple_samples
(*args, **kwargs)[source]¶Send multiple samples.
The usecase here is to reduce the chatter and send the counters at a slower cadence.
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.