diff options
| author | Michael Vogt <michael.vogt@ubuntu.com> | 2010-12-13 13:38:54 +0100 |
|---|---|---|
| committer | Michael Vogt <michael.vogt@ubuntu.com> | 2010-12-13 13:38:54 +0100 |
| commit | 0e40b52a82efc95161c2dfb84f3c3737452336fb (patch) | |
| tree | 548ce3cff8ecf32cc3dfcc28ed0e85e13dcba915 /tests/test_apt_cache.py | |
| parent | 2a0259649b0656b9c262fea304ee8feb0c27ab1e (diff) | |
| parent | bebae32a598593f9d427d54cb48a84bd9beac227 (diff) | |
| download | python-apt-0e40b52a82efc95161c2dfb84f3c3737452336fb.tar.gz | |
merged from lp:~mvo/python-apt/mvo
Diffstat (limited to 'tests/test_apt_cache.py')
| -rw-r--r-- | tests/test_apt_cache.py | 6 |
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): |
