From 61fdb35b8406abadcc3539e4d3c76ec296e7933f Mon Sep 17 00:00:00 2001 From: "Daniel P. Berrange" Date: Fri, 6 Sep 2013 19:05:03 +0100 Subject: Add build/ to python module path for sanitytest.py The generated libvirt.py modules will be in the build/ directory, so santitytest.py must use that directory. Signed-off-by: Daniel P. Berrange --- sanitytest.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sanitytest.py b/sanitytest.py index ace6792..517054b 100644 --- a/sanitytest.py +++ b/sanitytest.py @@ -1,5 +1,9 @@ #!/usr/bin/python +import sys + +sys.path.insert(0, sys.argv[1]) + import libvirt globals = dir(libvirt) -- cgit