diff options
author | Klaus Kämpf <kkaempf@suse.de> | 2010-11-07 14:30:48 +0100 |
---|---|---|
committer | Klaus Kämpf <kkaempf@suse.de> | 2010-11-07 14:30:48 +0100 |
commit | f90ebfce3d419a88db82e6f9c8b3d4923d7f4f62 (patch) | |
tree | 366972a95366b53bf8e8a45a15b328bd46a68a33 /swig/python/tests | |
parent | f1c8bf9174094ca6ab7388fd73fb01395fc57c4c (diff) | |
download | libzypp-bindings-f90ebfce3d419a88db82e6f9c8b3d4923d7f4f62.tar.gz libzypp-bindings-f90ebfce3d419a88db82e6f9c8b3d4923d7f4f62.tar.bz2 libzypp-bindings-f90ebfce3d419a88db82e6f9c8b3d4923d7f4f62.zip |
Fix Python load path
Diffstat (limited to 'swig/python/tests')
-rw-r--r-- | swig/python/tests/loading.py | 2 | ||||
-rw-r--r-- | swig/python/tests/repoinfo.py | 5 |
2 files changed, 5 insertions, 2 deletions
diff --git a/swig/python/tests/loading.py b/swig/python/tests/loading.py index 3a751a7..c3b6b40 100644 --- a/swig/python/tests/loading.py +++ b/swig/python/tests/loading.py @@ -1,7 +1,7 @@ import unittest import sys -sys.path.insert(0, '../../../build/swig/python') +sys.path.insert(0, '../../../../build/swig/python') class TestSequenceFunctions(unittest.TestCase): diff --git a/swig/python/tests/repoinfo.py b/swig/python/tests/repoinfo.py index e134709..12587f4 100644 --- a/swig/python/tests/repoinfo.py +++ b/swig/python/tests/repoinfo.py @@ -4,8 +4,11 @@ # import unittest -from zypp import RepoInfo, Url, UrlSet, RepoType + import sys +sys.path.insert(0, '../../../../build/swig/python') + +from zypp import RepoInfo, Url, UrlSet, RepoType repo_urls = [ "file:/mounts/mirror/SuSE/ftp.opensuse.org/srv/ftp/pub/opensuse/debug/update/11.1/", "http://download.opensuse.org/debug/update/11.1/" ] |