diff options
author | Daniel P. Berrange <berrange@redhat.com> | 2013-11-12 18:21:55 +0000 |
---|---|---|
committer | Daniel P. Berrange <berrange@redhat.com> | 2013-11-22 15:58:06 +0000 |
commit | be7d0bccb4e4f0a57824f6d305986e0c28e3b48e (patch) | |
tree | aebc5bb922034e3f82f4e94fa40ad43d06d0b355 | |
parent | 4d083fbf60531c2d3882367b419bf826c6488e16 (diff) | |
download | libvirt-python-v9-be7d0bccb4e4f0a57824f6d305986e0c28e3b48e.tar.gz libvirt-python-v9-be7d0bccb4e4f0a57824f6d305986e0c28e3b48e.tar.xz libvirt-python-v9-be7d0bccb4e4f0a57824f6d305986e0c28e3b48e.zip |
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 <berrange@redhat.com>
-rw-r--r-- | sanitytest.py | 4 |
1 files changed, 4 insertions, 0 deletions
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) |