summaryrefslogtreecommitdiff
path: root/tests/test_aptsources.py
diff options
context:
space:
mode:
authorMichael Vogt <mvo@debian.org>2010-09-08 10:54:12 +0200
committerMichael Vogt <mvo@debian.org>2010-09-08 10:54:12 +0200
commitb410a7e17e3a255127ef054b9a867354face49f3 (patch)
treeece62abea6f22810a445e424b83c169b3e0cca85 /tests/test_aptsources.py
parent6b6da56c8b1eeee14c5a8a03b206e15fb66baec7 (diff)
downloadpython-apt-b410a7e17e3a255127ef054b9a867354face49f3.tar.gz
fix a bunch of python3.1 releated test failures
Diffstat (limited to 'tests/test_aptsources.py')
-rw-r--r--tests/test_aptsources.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_aptsources.py b/tests/test_aptsources.py
index 3ef20f64..e56761f3 100644
--- a/tests/test_aptsources.py
+++ b/tests/test_aptsources.py
@@ -18,8 +18,8 @@ class TestAptSources(unittest.TestCase):
apt_pkg.config.set("APT::Architecture", "i386")
apt_pkg.config.set("Dir::Etc", os.getcwd())
apt_pkg.config.set("Dir::Etc::sourceparts", "/xxx")
- if os.path.exists("../build/data/templates"):
- self.templates = os.path.abspath("../build/data/templates")
+ if os.path.exists("./build/data/templates"):
+ self.templates = os.path.abspath("./build/data/templates")
else:
self.templates = "/usr/share/python-apt/templates/"