summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2011-12-09 09:23:40 +0100
committerMichael Vogt <michael.vogt@ubuntu.com>2011-12-09 09:23:40 +0100
commitd02c0c3a2ded6afcc25f69c8de4b6cc396854027 (patch)
treefb30c8bef6bb048cf79ff69e6eca991252906c06 /tests
parent49a261ded353b836db807b372780a082502e5b5a (diff)
parentf841101c94f1b5892f042ecab2c0c74e9b947c8c (diff)
downloadpython-apt-d02c0c3a2ded6afcc25f69c8de4b6cc396854027.tar.gz
* tests/test_apt_cache.py:
- fix tests on kfreebsd/ia64
Diffstat (limited to 'tests')
-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")