From 33c83f032fa17f0068a3a1b5486a3cfcfeabd66d Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Thu, 8 Dec 2011 20:15:58 +0100 Subject: tests/test_apt_cache.py: change test to test for python3 instead of xterm to fix test failure on certain buildds --- tests/test_apt_cache.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_apt_cache.py b/tests/test_apt_cache.py index 6ec04ed5..e62507ed 100644 --- a/tests/test_apt_cache.py +++ b/tests/test_apt_cache.py @@ -185,11 +185,11 @@ class TestAptCache(unittest.TestCase): cache = apt.Cache(rootdir="/") l = [] l.append(cache["libc6"]) - l.append(cache["xterm"]) + l.append(cache["python3"]) l.append(cache["apt"]) l.sort() self.assertEqual([p.name for p in l], - ["apt", "libc6", "xterm"]) + ["apt", "libc6", "python3"]) def test_get_architectures(self): main_arch = apt.apt_pkg.config.get("APT::Architecture") -- cgit v1.2.3