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