Nir Soffer has uploaded a new change for review. Change subject: storage: Temporary hack around circular import ......................................................................
storage: Temporary hack around circular import Since the introducation of BlockVolumeArtifacts, it is not possible to run the storageServerTests because of circular import dependency. This is an ugly hack to make it possible to run these tests; the real fix is to remove the circular dependency. Change-Id: I4bdf6b66c28cc25ef2baab426a7e1e1562258a7a Signed-off-by: Nir Soffer <nsof...@redhat.com> --- M tests/storageServerTests.py 1 file changed, 8 insertions(+), 0 deletions(-) git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/80/57480/1 diff --git a/tests/storageServerTests.py b/tests/storageServerTests.py index b2ce92d..9f2a753 100644 --- a/tests/storageServerTests.py +++ b/tests/storageServerTests.py @@ -24,6 +24,14 @@ from testlib import permutations, expandPermutations from testlib import VdsmTestCase from testValidation import brokentest + +# Fix circular dependency +from storage import blockSD, fileSD + +# Make pyflakes happy +blockSD +fileSD + from storage.storageServer import GlusterFSConnection from storage.storageServer import IscsiConnection from storage.storageServer import MountConnection -- To view, visit https://gerrit.ovirt.org/57480 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I4bdf6b66c28cc25ef2baab426a7e1e1562258a7a Gerrit-PatchSet: 1 Gerrit-Project: vdsm Gerrit-Branch: master Gerrit-Owner: Nir Soffer <nsof...@redhat.com> _______________________________________________ vdsm-patches mailing list vdsm-patches@lists.fedorahosted.org https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches