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.

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

Bases: type

Previous topic

The ceilometer.telemetry.notifications Module

Next topic

The ceilometer.tests.db Module

Project Source

This Page