Hello, You can find the instructions to run nose unit tests in the wiki: http://www.ovirt.org/wiki/Features/Nose_tests
Regards, Yeela
build error, when Unit tests.
Here is the info: File "/home/fsh/work/vm/wkspace/vdsm/vdsm-apply-rest/vdsm/vdsm/configNetwork.py", line 37, in <module> from vdsm import libvirtconnection ImportError: cannot import name libvirtconnection
but the text in run_tests.sh is as follow: #!/bin/sh PYTHONPATH="./vdsm:../vdsm" /usr/bin/python ../tests/testrunner.py $@
On 04/25/2012 12:06 AM, Yeela Kaplan wrote:
Hello, You can find the instructions to run nose unit tests in the wiki: http://www.ovirt.org/wiki/Features/Nose_tests
Regards, Yeela _______________________________________________ vdsm-devel mailing list vdsm-devel@lists.fedorahosted.org https://fedorahosted.org/mailman/listinfo/vdsm-devel
On Wed, Apr 25, 2012 at 04:12:03AM +0800, ShaoHe Feng wrote:
build error, when Unit tests.
Here is the info: File "/home/fsh/work/vm/wkspace/vdsm/vdsm-apply-rest/vdsm/vdsm/configNetwork.py", line 37, in <module> from vdsm import libvirtconnection ImportError: cannot import name libvirtconnection
but the text in run_tests.sh is as follow: #!/bin/sh PYTHONPATH="./vdsm:../vdsm" /usr/bin/python ../tests/testrunner.py $@
Which vdsm version are you using? Does taking Adam and Yeela's http://gerrit.ovirt.org/#change,3887 fix your issue?
On 04/25/2012 12:06 AM, Yeela Kaplan wrote:
Hello, You can find the instructions to run nose unit tests in the wiki: http://www.ovirt.org/wiki/Features/Nose_tests
Regards, Yeela _______________________________________________ vdsm-devel mailing list vdsm-devel@lists.fedorahosted.org https://fedorahosted.org/mailman/listinfo/vdsm-devel
vdsm-devel mailing list vdsm-devel@lists.fedorahosted.org https://fedorahosted.org/mailman/listinfo/vdsm-devel
On 04/25/2012 01:10 PM, Dan Kenigsberg wrote:
On Wed, Apr 25, 2012 at 04:12:03AM +0800, ShaoHe Feng wrote:
build error, when Unit tests.
Here is the info: File "/home/fsh/work/vm/wkspace/vdsm/vdsm-apply-rest/vdsm/vdsm/configNetwork.py", line 37, in<module> from vdsm import libvirtconnection ImportError: cannot import name libvirtconnection
but the text in run_tests.sh is as follow: #!/bin/sh PYTHONPATH="./vdsm:../vdsm" /usr/bin/python ../tests/testrunner.py $@
Which vdsm version are you using? Does taking Adam and Yeela's http://gerrit.ovirt.org/#change,3887 fix your issue?
yes it fixes my issue. thank you.
my version is on Apr 16, commit id is b7c99b1187e473cd15f19202244d6ac5b3f6b6cd. And I apply Adam patch http://gerrit.ovirt.org/#change,3757
I should rebase Adam's patch to the latest submit in order to avoid these errors.
On 04/25/2012 12:06 AM, Yeela Kaplan wrote:
Hello, You can find the instructions to run nose unit tests in the wiki: http://www.ovirt.org/wiki/Features/Nose_tests
Regards, Yeela _______________________________________________ vdsm-devel mailing list vdsm-devel@lists.fedorahosted.org https://fedorahosted.org/mailman/listinfo/vdsm-devel
vdsm-devel mailing list vdsm-devel@lists.fedorahosted.org https://fedorahosted.org/mailman/listinfo/vdsm-devel
vdsm-devel@lists.fedorahosted.org