self.manager = importutils.import_object(CONF.volume_manager)
self.context = context.get_admin_context()
- def tearDown(self):
- super(VolumeDriverCompatibility, self).tearDown()
-
def _load_driver(self, driver):
- if 'SolidFire' in driver:
- # SolidFire driver does update_cluster stat on init
- self.stubs.Set(SolidFireDriver, '_update_cluster_status',
- self.fake_update_cluster_status)
self.manager.__init__(volume_driver=driver)
def _driver_module_name(self):