The ceilometer.tests.skip Module

Base classes for our unit tests.

Allows overriding of flags for use of fakes, and some black magic for inline callbacks.

class ceilometer.tests.skip.skip_if(condition, msg)[source]

Bases: object

Decorator that skips a test if condition is true.

class ceilometer.tests.skip.skip_test(msg)[source]

Bases: object

Decorator that skips a test.

class ceilometer.tests.skip.skip_unless(condition, msg)[source]

Bases: object

Decorator that skips a test if condition is not true.

Previous topic

The ceilometer.tests.db Module

Next topic

The ceilometer.transformer.accumulator Module

This Page