'test get_volume_stats.'

@mock.patch.object(hbsd_basiclib, 'get_process_lock')
@mock.patch.object(hbsd_horcm.HBSDHORCM, 'exec_raidcom', side_effect=_exec_raidcom)
def test_get_volume_stats_error(self, arg1, arg2):

    self.configuration.hitachi_pool_id = 29
    stats = self.driver.get_volume_stats(True)
    self.assertEqual({}, stats)
    self.configuration.hitachi_pool_id = 30
