Base classes for our unit tests.
Allows overriding of CONF for use of fakes, and some black magic for inline callbacks.
Bases: object
Bases: cinder.test.TestCase, cinder.test.ModelsObjectComparatorMixin
Bases: testtools.testcase.TestCase
Test case base class for all unit tests.
Override CONF variables for a test.
Use python mock to mock an object attribute
Mocks the specified objects attribute with the given value. Automatically performs ‘addCleanup’ for the mock.
Cleanly override CONF variables.
Use python mock to mock a path with automatic cleanup.
Run before each test method to initialize test environment.
Bases: exceptions.Exception