Change in vdsm[master]: fix 'qemuImg' import error in unit test
danken at redhat.com
danken at redhat.com
Thu Jul 26 11:12:28 UTC 2012
Dan Kenigsberg has submitted this change and it was merged.
Change subject: fix 'qemuImg' import error in unit test
......................................................................
fix 'qemuImg' import error in unit test
restTest indirectly import qemuImg.py. qemuImg.py is installed to
vdsm site-packages dir, so it is imported as "from vdsm import qemuImg"
in other files.
There is a hack in testrunner.py to import modules under vdsm
site-packages dir for unit test, but qemuImg is not hacked, so causes the
problem.
This patch add qemuImg to the import hack list in testrunner.py and fix
the problem.
Change-Id: I7b958b1aa6ad8d912bd3f191478ed181fbd14bb4
Signed-off-by: Zhou Zheng Sheng <zhshzhou at linux.vnet.ibm.com>
---
M tests/testrunner.py
1 file changed, 1 insertion(+), 1 deletion(-)
Approvals:
ShaoHe Feng: Verified; Looks good to me, but someone else must approve
Dan Kenigsberg: Looks good to me, approved
Zhou Zheng Sheng: Verified
--
To view, visit http://gerrit.ovirt.org/6643
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I7b958b1aa6ad8d912bd3f191478ed181fbd14bb4
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Zhou Zheng Sheng <zhshzhou at linux.vnet.ibm.com>
Gerrit-Reviewer: Dan Kenigsberg <danken at redhat.com>
Gerrit-Reviewer: Federico Simoncelli <fsimonce at redhat.com>
Gerrit-Reviewer: Saggi Mizrahi <smizrahi at redhat.com>
Gerrit-Reviewer: ShaoHe Feng <shaohef at linux.vnet.ibm.com>
Gerrit-Reviewer: Zhou Zheng Sheng <zhshzhou at linux.vnet.ibm.com>
More information about the vdsm-patches
mailing list