summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/test_apt_cache.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_apt_cache.py b/tests/test_apt_cache.py
index 0b33a2e3..cfb3ab99 100644
--- a/tests/test_apt_cache.py
+++ b/tests/test_apt_cache.py
@@ -59,13 +59,13 @@ class TestAptCache(unittest.TestCase):
self.assertTrue(len(l) > 0)
self.assertTrue("postfix" in [p.name for p in l])
# this is a not virtual (transitional) package provided by another
- l = cache.get_providing_packages("scrollkeeper")
+ l = cache.get_providing_packages("git-core")
self.assertEqual(l, [])
# now inlcude nonvirtual packages in the search (rarian-compat
# provides scrollkeeper)
- l = cache.get_providing_packages("scrollkeeper",
+ l = cache.get_providing_packages("git-core",
include_nonvirtual=True)
- self.assertTrue(len(l), 1)
+ self.assertEqual([p.name for p in l], ["git"])
self.assertTrue("mail-transport-agent" in cache["postfix"].candidate.provides)
def test_low_level_pkg_provides(self):