summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)AuthorFilesLines
2011-03-21* python/arfile.cc, apt/debfile.py:Michael Vogt2-0/+5
- add support for .xz archives * tests/test_debfile.py: - add test for xz compression
2011-03-21 - add optional parameter to allow parse_depends() to keep theMichael Vogt1-0/+8
multiarch parameter * tests/test_deps.py: - add test forapt_pkg.parse_depends(strip_multiarch=True)
2011-01-10merged lp:~geser/ubuntu/natty/python-apt/build-with-py3.2 (manually as bzr ↵Michael Vogt1-1/+1
thinks the branches have nothing in common)
2010-12-21* apt/debfile.py, tests/test_debfile.py:Michael Vogt1-1/+11
- strip "./" from _get_content and add tests, this fixes a control file extraction bug in gdebi
2010-12-13tests/test_apt_cache.py: fix testsMichael Vogt1-3/+3
2010-12-07tests/test_all.py: add workaround for py3.2Michael Vogt1-0/+8
2010-11-24* tests/test_apt_cache.py:Michael Vogt1-10/+7
- fix tests to work if apt compressed indexes are enabled
2010-09-28releasing version 0.7.98Michael Vogt1-0/+2
2010-09-08fix a bunch of python3.1 releated test failuresMichael Vogt3-4/+9
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 Vogt5-1/+70
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 Vogt2-19/+44
working network
2010-09-03not not depend on network when running the tests, some style fixes (thanks ↵Michael Vogt2-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-09-02merged patch from Samuel Lidén Borell to fix crash if there utf8 Michael Vogt2-0/+7
in the control file (LP: #624290) and add test
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 Vogt4-0/+16
* apt/debfile.py: - fix error when reading binary content and add regresion test
2010-08-31* apt/debfile.py:Michael Vogt1-2/+3
- fix error when reading binary content and add regresion test
2010-08-31tests/test_debfile.py: add test for binary readingMichael Vogt2-0/+6
2010-08-31add content reading testMichael Vogt2-0/+6
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-08-05tests/test_debfile.py: make it work on amd64, improve failure messageMichael Vogt4-3/+39
2010-08-05tests/data/test_debs/hello_2.5-1.dsc: simplify debs (to avoid universe issues)Michael Vogt1-1/+1
2010-08-05merged from debian-sid, fix crash in Dsc file handlingMichael Vogt3-0/+42
2010-08-05* apt/debfile.py:Michael Vogt2-0/+41
- fix crash in DscFile handling and add regression test
2010-08-05* apt/debfile.py:Michael Vogt2-0/+38
- fix crash in DscFile handling and add regression test
2010-07-12apply fix from juliank for the tests (many thanks!)Michael Vogt1-0/+2
2010-07-12merged from debian-sid, improve test outputMichael Vogt15-34/+13
2010-07-12tests/test_debfile.py: move test_debs into tests/dataMichael Vogt12-2/+2
2010-07-12merged from lp:~mvo/python-apt/mvo/Michael Vogt1-0/+77
2010-07-12tests/test_debs/var/lib/dpkg/status: adding fake status fileMichael Vogt1-0/+77
2010-07-12* tests/test_debfile.py:Michael Vogt1-4/+11
- properly setup fixture data to make debfile test pass (closes: #588796)
2010-07-12tests/test_debfile.py: add fixture dpkg-status file to make tests workMichael Vogt1-4/+11
2010-07-09tests/test_aptsources.py: fix test by forcing id=UbuntuMichael Vogt1-2/+2
2010-07-06tests/test_apt_cache.py: fixes for 0.8 compatibilityMichael Vogt1-3/+3
2010-07-06* python/progress.cc:Michael Vogt1-0/+3
- deal with missing return value from the acquire progress in pulse()
2010-07-06fix debfile to work with py3, update testsMichael Vogt3-13/+22
2010-07-02* tests/test_debs/*.deb, tests/test_debfile.py:Michael Vogt11-0/+56
- add automatic test based on the test debs from gdebi
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-07-02add test_progress.py testMichael Vogt3-0/+65
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-31merged from http://bzr.debian.org/apt/python-apt/debian-sid/Michael Vogt1-5/+5
2010-03-29If PYTHON_APT_DEPRECATION_WARNINGS is unset, also disable theJulian Andres Klode1-0/+0
deprecation warnings in apt_pkg directly; and don't just disable any deprecation warning in apt/__init__.py (LP: #548623)
2010-03-26Merge with mvo, with the following changes:Julian Andres Klode2-8/+42
* 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
2010-03-23* tests/data/aptsources_ports/sources.list:Michael Vogt1-8/+8
- fix ports test-data