diff options
| -rw-r--r-- | debian/changelog | 5 | ||||
| -rw-r--r-- | tests/test_lp659438.py | 8 |
2 files changed, 9 insertions, 4 deletions
diff --git a/debian/changelog b/debian/changelog index 2dfe485f..5d98f7d1 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,4 +1,4 @@ -python-apt (0.8.4ubuntu5) precise; urgency=low +python-apt (0.8.4ubuntu5) UNRELEASEDprecise; urgency=low [ Michael Vogt ] * python/cache.cc: @@ -8,13 +8,12 @@ python-apt (0.8.4ubuntu5) precise; urgency=low - if there is no Version.uri return None * apt/cache.py: - fix _have_multi_arch flag (thanks to Sebastian Heinlein) - * build against apt 0.9.0 [Julian Andres Klode ] * python/apt_pkgmodule.cc: - Fix apt_pkg.Dependency.TYPE_RECOMMENDS, had Suggests value previously - -- Michael Vogt <mvo@debian.org> Mon, 16 Apr 2012 19:06:48 +0200 + -- Michael Vogt <michael.vogt@ubuntu.com> Wed, 18 Apr 2012 10:20:58 +0200 python-apt (0.8.3ubuntu6) precise; urgency=low diff --git a/tests/test_lp659438.py b/tests/test_lp659438.py index 25a6278f..01edf3bd 100644 --- a/tests/test_lp659438.py +++ b/tests/test_lp659438.py @@ -58,9 +58,15 @@ Version: 3.6.9+build1+nobinonly-0ubuntu1""") self.cache.update(sources_list=sources_list_path) self.cache.open() + def tearDown(self): + # this resets the rootdir apt_pkg.config to ensure it does not + # "pollute" the later tests + cache = apt.cache.Cache(rootdir="/") + def test_survive_reqreinst(self): """Test that we survive a package in require reinstallation state""" - self.assertEqual(self.cache.required_download, 82324L) + # this should be 82324L but python3.2 gets unhappy about the "L" + self.assertEqual(self.cache.required_download, 82324) if __name__ == "__main__": unittest.main() |
