Those tests clearly look better! ^^
When it comes to https://github.com/michael-schaller/python-apt/commit/ef6202e2f54dc2085e4d87a01aa2a66ff7c1a437 I would be already happy if you would include the updated docstring. The rest is really just readability. ;-)
What do you think of the second commit?
https://github.com/michael-schaller/python-apt/commit/928814bbc43ed50ab956271a514baee49c7a452b