diff options
| author | Michael Vogt <michael.vogt@ubuntu.com> | 2011-04-04 12:01:34 +0200 |
|---|---|---|
| committer | Michael Vogt <michael.vogt@ubuntu.com> | 2011-04-04 12:01:34 +0200 |
| commit | 3a4a11628a6f80c2caed9488219f19d52f923917 (patch) | |
| tree | 476e54d05220a6fe65594970b475507e90ebde40 /tests/test_apt_cache.py | |
| parent | 50ad561deddca0b239f67ce25fd9800e8bbe94a9 (diff) | |
| parent | 80e04f26777a5c7bd32b40a48f46f8d9f1c8aeb1 (diff) | |
| download | python-apt-3a4a11628a6f80c2caed9488219f19d52f923917.tar.gz | |
merged from debian-sid
Diffstat (limited to 'tests/test_apt_cache.py')
| -rw-r--r-- | tests/test_apt_cache.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_apt_cache.py b/tests/test_apt_cache.py index cfb3ab99..cccfc9c8 100644 --- a/tests/test_apt_cache.py +++ b/tests/test_apt_cache.py @@ -47,10 +47,10 @@ class TestAptCache(unittest.TestCase): # particular, when using compressed indexes, it should not use # tons of seek operations r = pkg.candidate.record - self.assertEqual(r['Package'], pkg.name) + self.assertEqual(r['Package'], pkg.shortname) self.assert_('Version' in r) self.assert_(len(r['Description']) > 0) - self.assert_(str(r).startswith('Package: %s\n' % pkg.name)) + self.assert_(str(r).startswith('Package: %s\n' % pkg.shortname)) def test_get_provided_packages(self): cache = apt.Cache() |
