From 1da80475cabf37da411aff8983d427773cfc0a80 Mon Sep 17 00:00:00 2001 From: Julian Andres Klode Date: Thu, 26 Aug 2010 14:08:02 +0200 Subject: * tests/test_apt_cache.py: - Do not insert ".." into sys.path, fixes FTBFS --- tests/test_apt_cache.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests') 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 -- cgit v1.2.3