1
0
mirror of https://gitlab.com/libvirt/libvirt-python.git synced 2025-07-27 11:41:52 +03:00

Fix nosetests usage with python3

Add RPM deps on python/python3-nose, make RPM build run the
test suite and invoke nosetests using correct python binary

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
This commit is contained in:
Daniel P. Berrange
2014-04-02 16:33:53 +02:00
parent 71fd954092
commit 0eaf951979
2 changed files with 9 additions and 1 deletions

View File

@ -291,7 +291,7 @@ class my_test(Command):
else:
os.environ["PYTHONPATH"] = self.build_platlib
self.spawn([sys.executable, "sanitytest.py", self.build_platlib, apis[0]])
self.spawn(["nosetests"])
self.spawn([sys.executable, "/usr/bin/nosetests"])
class my_clean(clean):