The ceilometer.tests.base Module

The ceilometer.tests.base Module

Test base classes.

class ceilometer.tests.base.BaseTestCase(*args, **kwds)[source]

Bases: oslotest.base.BaseTestCase

assertIsEmpty(obj)[source]
assertIsNotEmpty(obj)[source]
assertTimestampEqual(first, second, msg=None)[source]

Checks that two timestamps are equals.

This relies on assertAlmostEqual to avoid rounding problem, and only checks up the first microsecond values.

cfg2file(data)[source]
static path_get(project_file=None)[source]
setup_messaging(conf, exchange=None)[source]
class ceilometer.tests.base.SkipNotImplementedMeta[source]

Bases: type

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.