summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMichael Vogt <mvo@debian.org>2010-09-28 16:18:38 +0200
committerMichael Vogt <mvo@debian.org>2010-09-28 16:18:38 +0200
commitec2fa33ed76e14e14d9c7d78f008147c6e10475c (patch)
treeab710a8c9b20372061324948e5396faae19715ad /tests
parent2fbf311c42e3320d677163cffe5b8914cd189e52 (diff)
downloadpython-apt-ec2fa33ed76e14e14d9c7d78f008147c6e10475c.tar.gz
releasing version 0.7.98
Diffstat (limited to 'tests')
-rw-r--r--tests/test_aptsources.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test_aptsources.py b/tests/test_aptsources.py
index e56761f3..331df935 100644
--- a/tests/test_aptsources.py
+++ b/tests/test_aptsources.py
@@ -20,6 +20,8 @@ class TestAptSources(unittest.TestCase):
apt_pkg.config.set("Dir::Etc::sourceparts", "/xxx")
if os.path.exists("./build/data/templates"):
self.templates = os.path.abspath("./build/data/templates")
+ elif os.path.exists("../build/data/templates"):
+ self.templates = os.path.abspath("../build/data/templates")
else:
self.templates = "/usr/share/python-apt/templates/"