summaryrefslogtreecommitdiff
path: root/tests/test_apt_cache.py
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2010-08-26 14:08:02 +0200
committerJulian Andres Klode <jak@debian.org>2010-08-26 14:08:02 +0200
commit1da80475cabf37da411aff8983d427773cfc0a80 (patch)
treef62c9c8e2c850f771fd0fe788ffe2c814988f102 /tests/test_apt_cache.py
parent0b0ab7a7f24f2d95e68c1e94e27feef7bc0fd13c (diff)
downloadpython-apt-1da80475cabf37da411aff8983d427773cfc0a80.tar.gz
* tests/test_apt_cache.py:
- Do not insert ".." into sys.path, fixes FTBFS
Diffstat (limited to 'tests/test_apt_cache.py')
-rw-r--r--tests/test_apt_cache.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test_apt_cache.py b/tests/test_apt_cache.py
index a43e92d2..81d64bc6 100644
--- a/tests/test_apt_cache.py
+++ b/tests/test_apt_cache.py
@@ -10,8 +10,9 @@ import os
import tempfile
import unittest
+from test_all import get_library_dir
import sys
-sys.path.insert(0, "..")
+sys.path.insert(0, get_library_dir())
import apt
import apt_pkg