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-21 16:37:07 +0000 |
commit | 800bc4bb6a16b96a94aeaff1510ee5d0ab4292c0 (patch) | |
tree | 675897bb1581869339f4026df2194c946b1abba6 /sanitytest.py | |
parent | 11bd03727fdd10b8764e9c08157f8a77d015cf4b (diff) | |
download | libvirt-python-v7-800bc4bb6a16b96a94aeaff1510ee5d0ab4292c0.tar.gz libvirt-python-v7-800bc4bb6a16b96a94aeaff1510ee5d0ab4292c0.tar.xz libvirt-python-v7-800bc4bb6a16b96a94aeaff1510ee5d0ab4292c0.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>
Diffstat (limited to 'sanitytest.py')
-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) |