From ec2fa33ed76e14e14d9c7d78f008147c6e10475c Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Tue, 28 Sep 2010 16:18:38 +0200 Subject: releasing version 0.7.98 --- tests/test_aptsources.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests') 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/" -- cgit v1.2.3