From 2f390afcafaa2cb7f83f579cb4ed5a5a5929c2db Mon Sep 17 00:00:00 2001 From: Sean McGinnis Date: Mon, 11 May 2020 14:46:19 -0500 Subject: [PATCH] Fix compliance tests Change I65c50722f5990f540d84fa361b997302bbc935c5 moved our base test code from cinder.test to cinder.tests.unit.test. It included updates for all unit tests, but missed the compliance tests that are also based on it. This fixes the imports for the compliance tests to use the new location to import the module. Change-Id: I510f7707085b917ed45e674eeffb67c9ca444088 Signed-off-by: Sean McGinnis --- cinder/tests/compliance/test_backup_drivers.py | 2 +- cinder/tests/compliance/test_fczm_drivers.py | 2 +- cinder/tests/compliance/test_volume_drivers.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cinder/tests/compliance/test_backup_drivers.py b/cinder/tests/compliance/test_backup_drivers.py index bad607a07ab..a86ae6d7201 100644 --- a/cinder/tests/compliance/test_backup_drivers.py +++ b/cinder/tests/compliance/test_backup_drivers.py @@ -18,7 +18,7 @@ import ddt from cinder.interface import backup_driver from cinder.interface import util -from cinder import test +from cinder.tests.unit import test BACKUP_DRIVERS = util.get_backup_drivers() diff --git a/cinder/tests/compliance/test_fczm_drivers.py b/cinder/tests/compliance/test_fczm_drivers.py index 95d39b9667a..02def55efd5 100644 --- a/cinder/tests/compliance/test_fczm_drivers.py +++ b/cinder/tests/compliance/test_fczm_drivers.py @@ -18,7 +18,7 @@ import ddt from cinder.interface import fczm_driver from cinder.interface import util -from cinder import test +from cinder.tests.unit import test FCZM_DRIVERS = util.get_fczm_drivers() diff --git a/cinder/tests/compliance/test_volume_drivers.py b/cinder/tests/compliance/test_volume_drivers.py index 5bfc0b131f3..77659d994c4 100644 --- a/cinder/tests/compliance/test_volume_drivers.py +++ b/cinder/tests/compliance/test_volume_drivers.py @@ -18,7 +18,7 @@ import ddt from cinder.interface import util from cinder.interface import volume_driver -from cinder import test +from cinder.tests.unit import test VOLUME_DRIVERS = util.get_volume_drivers()