def setUp(self): super(ExtendedRescueWithImageTest, self).setUp() ext_mgr = extensions.ExtensionManager() ext_mgr.extensions = {'os-extended-rescue-with-image': 'fake'} self.controller = rescue.RescueController(ext_mgr)
def _set_up_controller(self): ext_mgr = extensions.ExtensionManager() ext_mgr.extensions = {'os-extended-rescue-with-image': 'fake'} return rescue_v2.RescueController(ext_mgr)