def setUp(self): super(StorageTestCase, self).setUp() data = { 'webdav': { 'options': {}, 'client_options': {} }, } set_configuration(data) self.storage = Services.storage(wf=Services.workflow()) self.mockDavClientMethods()
def storage_context(self): yield Services.storage(wf=Services.workflow())