def __init__(self): configuration = conf.Configuration([ cfg.StrOpt('fake'), ], None) super(FakeDSWAREDriver, self).__init__(configuration=configuration) self.dsware_client = fspythonapi.FSPythonApi() self.manage_ip = '127.0.0.1' self.pool_type = '1'
def __init__(self, *args, **kwargs): super(DSWAREDriver, self).__init__(*args, **kwargs) self.dsware_client = fspythonapi.FSPythonApi() self.check_cloned_interval = 2 self.configuration.append_config_values(volume_opts)
def setUp(self): super(FSPythonApiTestCase, self).setUp() self.api = fspythonapi.FSPythonApi()