def tearDown(self): try: shutil.rmtree(FLAGS.volumes_dir) except OSError: pass notifier_api._reset_drivers() super(VolumeTestCase, self).tearDown()
def setUp(self): super(VolumeTypeEncryptionTest, self).setUp() self.flags(connection_type="fake", host="fake", notification_driver=[test_notifier.__name__]) self.api_path = "/v2/fake/os-volume-types/1/encryption" """to reset notifier drivers left over from other api/contrib tests""" notifier_api._reset_drivers() test_notifier.NOTIFICATIONS = []
def tearDown(self): try: shutil.rmtree(FLAGS.volumes_dir) except OSError: pass notifier_api._reset_drivers() super(VolumeTestCase, self).tearDown()
def setUp(self): super(VolumeTypesManageApiTest, self).setUp() self.flags(host='fake', notification_driver=[test_notifier.__name__]) self.controller = types_manage.VolumeTypesManageController() """to reset notifier drivers left over from other api/contrib tests""" notifier_api._reset_drivers() test_notifier.NOTIFICATIONS = [] self.addCleanup(notifier_api._reset_drivers)
def setUp(self): super(VolumeTypeEncryptionTest, self).setUp() self.flags(host='fake', notification_driver=[test_notifier.__name__]) self.api_path = '/v2/fake/os-volume-types/1/encryption' """to reset notifier drivers left over from other api/contrib tests""" notifier_api._reset_drivers() test_notifier.NOTIFICATIONS = [] self.addCleanup(notifier_api._reset_drivers)
def setUp(self): super(QoSSpecManageApiTest, self).setUp() self.flags(host='fake', notification_driver=[test_notifier.__name__]) self.controller = qos_specs_manage.QoSSpecsController() #reset notifier drivers left over from other api/contrib tests notifier_api._reset_drivers() test_notifier.NOTIFICATIONS = [] self.addCleanup(notifier_api._reset_drivers)
def setUp(self): super(QoSSpecManageApiTest, self).setUp() self.flags(host='fake', notification_driver=[test_notifier.__name__]) self.controller = qos_specs_manage.QoSSpecsController() #reset notifier drivers left over from other api/contrib tests notifier_api._reset_drivers() test_notifier.NOTIFICATIONS = []
def setUp(self): super(VolumeTypesManageApiTest, self).setUp() self.flags(host='fake', notification_driver=[test_notifier.__name__]) self.controller = types_manage.VolumeTypesManageController() """to reset notifier drivers left over from other api/contrib tests""" notifier_api._reset_drivers() test_notifier.NOTIFICATIONS = []
def setUp(self): super(VolumeTypeEncryptionTest, self).setUp() self.flags(host='fake', notification_driver=[test_notifier.__name__]) self.api_path = '/v2/fake/os-volume-types/1/encryption' """to reset notifier drivers left over from other api/contrib tests""" notifier_api._reset_drivers() test_notifier.NOTIFICATIONS = [] self.addCleanup(notifier_api._reset_drivers)
def setUp(self): super(VolumeTypesExtraSpecsTest, self).setUp() self.flags(host='fake', notification_driver=[test_notifier.__name__]) self.stubs.Set(cinder.db, 'volume_type_get', volume_type_get) self.api_path = '/v2/fake/os-volume-types/1/extra_specs' self.controller = types_extra_specs.VolumeTypeExtraSpecsController() """to reset notifier drivers left over from other api/contrib tests""" notifier_api._reset_drivers() test_notifier.NOTIFICATIONS = []
def setUp(self): super(VolumeTypesExtraSpecsTest, self).setUp() self.flags(host='fake', notification_driver=[test_notifier.__name__]) self.stubs.Set(cinder.db, 'volume_type_get', volume_type_get) self.api_path = '/v2/fake/os-volume-types/1/extra_specs' self.controller = types_extra_specs.VolumeTypeExtraSpecsController() """to reset notifier drivers left over from other api/contrib tests""" notifier_api._reset_drivers() test_notifier.NOTIFICATIONS = [] self.addCleanup(notifier_api._reset_drivers)
def tearDown(self): notifier_api._reset_drivers() super(QoSSpecManageApiTest, self).tearDown()
def tearDown(self): notifier_api._reset_drivers() super(UsageInfoTestCase, self).tearDown()
def tearDown(self): notifier_api._reset_drivers() super(VolumeTypeEncryptionTest, self).tearDown()
def tearDown(self): notifier_api._reset_drivers() super(QoSSpecManageApiTest, self).tearDown()
def tearDown(self): notifier_api._reset_drivers() super(VolumeTypesExtraSpecsTest, self).tearDown()
def tearDown(self): notifier_api._reset_drivers() super(VolumeTypesManageApiTest, self).tearDown()
def tearDown(self): notifier_api._reset_drivers() super(UsageInfoTestCase, self).tearDown()
def tearDown(self): notifier_api._reset_drivers() super(VolumeTypesManageApiTest, self).tearDown()
def tearDown(self): notifier_api._reset_drivers() super(VolumeTypesExtraSpecsTest, self).tearDown()
def tearDown(self): notifier_api._reset_drivers() super(VolumeTypeEncryptionTest, self).tearDown()