The castellan_ui.test.helpers
Module
updated: 2018-06-15 19:03
The castellan_ui.test.helpers
Module
-
class
castellan_ui.test.helpers.
APITestCase
(methodName='runTest')[source]
Bases: castellan_ui.test.helpers.CastellanTestsMixin
, openstack_dashboard.test.helpers.APITestCase
-
setUp
()[source]
Hook method for setting up the test fixture before exercising it.
-
class
castellan_ui.test.helpers.
CastellanTestsMixin
[source]
Bases: object
-
mock_object
(obj, attr_name, new_attr=None, **kwargs)[source]
Use python mock to mock an object attribute
Mocks the specified objects attribute with the given value.
Automatically performs ‘addCleanup’ for the mock.
updated: 2018-06-15 19:03