The ceilometer.tests.unit.test_sample Module

The ceilometer.tests.unit.test_sample Module

Tests for ceilometer/sample.py

class ceilometer.tests.unit.test_sample.TestSample(*args, **kwds)[source]

Bases: ceilometer.tests.base.BaseTestCase

SAMPLE = <name: cpu, volume: 1234567, resource_id: 1ca738a1-c49c-4401-8346-5c60ebdb03f4, timestamp: 2014-10-29 14:12:15.485877>
test_sample_from_notifications_assume_utc()[source]
test_sample_from_notifications_dict()[source]
test_sample_from_notifications_keep_tz()[source]
test_sample_from_notifications_list()[source]
test_sample_string_format()[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.