summaryrefslogtreecommitdiff
path: root/tests/test_apt_cache.py
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2011-12-09 09:16:08 +0100
committerMichael Vogt <michael.vogt@ubuntu.com>2011-12-09 09:16:08 +0100
commitf841101c94f1b5892f042ecab2c0c74e9b947c8c (patch)
treea2120b5f71d89615fe5d58a8b8d390287bb3f5b3 /tests/test_apt_cache.py
parent24c72a5f6b87f6a5aac5b0630e3c29258da446dd (diff)
downloadpython-apt-f841101c94f1b5892f042ecab2c0c74e9b947c8c.tar.gz
tests/test_apt_cache.py: use intltool instead of libc6 as the later is not available on ia64 or kfreebsd
Diffstat (limited to 'tests/test_apt_cache.py')
-rw-r--r--tests/test_apt_cache.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_apt_cache.py b/tests/test_apt_cache.py
index 2bc19353..448aed75 100644
--- a/tests/test_apt_cache.py
+++ b/tests/test_apt_cache.py
@@ -190,12 +190,12 @@ class TestAptCache(unittest.TestCase):
def test_package_cmp(self):
cache = apt.Cache(rootdir="/")
l = []
- l.append(cache["libc6"])
+ l.append(cache["intltool"])
l.append(cache["python3"])
l.append(cache["apt"])
l.sort()
self.assertEqual([p.name for p in l],
- ["apt", "libc6", "python3"])
+ ["apt", "intltool", "python3"])
def test_get_architectures(self):
main_arch = apt.apt_pkg.config.get("APT::Architecture")