summaryrefslogtreecommitdiff
path: root/tests/test_apt_cache.py
AgeCommit message (Collapse)AuthorFilesLines
2011-11-22tests/test_apt_cache.py: fix test failure by explicitely setting rootdirMichael Vogt1-1/+1
2011-10-21* python/apt_pkgmodule.cc:Michael Vogt1-0/+5
- add apt_pkg.get_architectures() call
2011-10-21merged from the debian-sid branchMichael Vogt1-1/+1
2011-10-19releasing version 0.8.1Michael Vogt1-1/+1
2011-10-05* tests/test_apt_cache.py:Michael Vogt1-0/+11
- add __cmp__ to apt.Package so that sort() sorts by name on list of package objects
2011-08-08tests/test_apt_cache.py: make the test work on PPA buildd chrootsMichael Vogt1-3/+13
2011-08-08* tests/test_apt_cache.py:Michael Vogt1-15/+16
- fix test by providing proper fixture data
2011-08-08fix tests by adding ariticial data for the test_apt_cache testMichael Vogt1-15/+16
2011-08-01test fixes with the latest aptMichael Vogt1-2/+8
2011-08-01test fixesMichael Vogt1-4/+5
2011-04-06tests/test_apt_cache.py: Use assertTrue() instead of assert_()Julian Andres Klode1-3/+3
2011-04-06all: Fix all instances of ResourceWarning about unclosed filesJulian Andres Klode1-12/+11
2011-04-05Change apt_pkg.Cache() so that passing None for 'progress' results inJulian Andres Klode1-1/+1
no progress output
2011-04-04* tests/test_apt_cache.py:Julian Andres Klode1-2/+2
- Package records 'Package' field now corresponds to shortname
2010-12-13tests/test_apt_cache.py: fix testsMichael Vogt1-3/+3
2010-11-24* tests/test_apt_cache.py:Michael Vogt1-10/+7
- fix tests to work if apt compressed indexes are enabled
2010-09-08fix a bunch of python3.1 releated test failuresMichael Vogt1-2/+2
2010-09-07merged from lp:~mvo/python-apt/mvoMichael Vogt1-1/+6
2010-09-07tests/test_apt_cache.py: reset apt_pkg.config when running the testsMichael Vogt1-0/+4
2010-09-07tests/test_apt_cache.py: fix testMichael Vogt1-1/+2
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