From f90ebfce3d419a88db82e6f9c8b3d4923d7f4f62 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Klaus=20K=C3=A4mpf?= Date: Sun, 7 Nov 2010 14:30:48 +0100 Subject: Fix Python load path --- swig/python/tests/loading.py | 2 +- swig/python/tests/repoinfo.py | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) (limited to 'swig/python/tests') 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/" ] -- cgit v1.2.3