summaryrefslogtreecommitdiff
path: root/tests/test_apt_cache.py
AgeCommit message (Collapse)AuthorFilesLines
2010-09-07* merged patch from Samuel Lidén Borell to fix crash if there utf8 Michael Vogt1-1/+63
in the control file (LP: #624290) and add test * apt/cache.py: - add "sources_list" parameter to cache.update() to force updating a single sources.list entry only * debian/control: - add missing build-depends on python-debian (needed to run the tests for apt.debfile.DebPackage() * apt/debfile: - don't fail if we conflict with the pkgs we are reinstalling
2010-09-07tests/test_apt_cache.py: improve the tests so that they do not require a ↵Michael Vogt1-19/+44
working network
2010-09-03not not depend on network when running the tests, some style fixes (thanks ↵Michael Vogt1-6/+7
to Jak for the code-review)
2010-09-03* apt/cache.py:Michael Vogt1-1/+37
- add "sources_list" parameter to cache.update() to force updating a single sources.list entry only
2010-08-31tests/test_apt_cache.py: add test for provides_listMichael Vogt1-1/+14
2010-08-31* add "provides" property to the apt.Version objectsMichael Vogt1-0/+3
* apt/debfile.py: - fix error when reading binary content and add regresion test
2010-08-27add "provides" property to the apt.Version objectsMichael Vogt1-0/+3
2010-08-26* tests/test_apt_cache.py:Julian Andres Klode1-1/+2
- Do not insert ".." into sys.path, fixes FTBFS
2010-07-06tests/test_apt_cache.py: fixes for 0.8 compatibilityMichael Vogt1-3/+3
2010-07-02merged lp:~kiwinote/python-apt/merge-gdebi-changes, this port theMichael Vogt1-2/+20
DebPackage class fixes from gdebi into python-apt so that gdebi can use the class from python-apt directly
2010-06-29* apt/cache.py:Michael Vogt1-0/+26
- add new "dpkg_journal_dirty" property that can be used to detect a interrupted dpkg (the famous "E: dpkg was interrupted, you must manually run 'dpkg --configure -a'")
2010-06-25tests/test_apt_cache.py: Test accessing the record of all packages duringMartin Pitt1-0/+9
iteration. This both ensures that it's well-formatted and structured, and also that accessing it does not take an inordinate amount of time. This exposes a severe performance problem when using gzip compressed package indexes.
2010-03-26Merge with mvo, with the following changes:Julian Andres Klode1-0/+34
* python/generic.cc is changed instead of python/indexfile.cc to add the ArchiveURI property * tests/test_apt_cache.py is changed to assert the properties of the Dependency object instead of assigning them to a variable. The additions to the changelog are: [ Julian Andres Klode ] - Map ArchiveURI property to archive_uri [ Michael Vogt ] * apt/cache.py: - make cache open silent by default (use apt.progress.base.OpProgress) * tests/data/aptsources_ports/sources.list: - fix ports test-data * tests/test_apt_cache.py: - add simple test for basic cache/dependency iteration
2010-03-23* tests/test_apt_cache.py:Michael Vogt1-0/+34
- add simple test for basic cache/dependency iteration