The heat.tests.utils Module

class heat.tests.utils.skip_if(condition, msg)[source]

Bases: object

Decorator that skips a test if condition is true.

class heat.tests.utils.skip_test(msg)[source]

Bases: object

Decorator that skips a test.

class heat.tests.utils.skip_unless(condition, msg)[source]

Bases: object

Decorator that skips a test if condition is not true.

heat.tests.utils.stack_delete_after(test_fn)[source]

Decorator which calls test class self.stack.delete() to ensure tests clean up their stacks regardless of test success/failure

This Page