summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)AuthorFilesLines
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
2010-03-12Revert 0.7.93.3 and just set APT::Architecture to i386 forJulian Andres Klode1-0/+2
test_aptsources; fixes FTBFS on powerpc.
2010-03-12tests/test_all.py: Write information header to stderr, not stdout.Julian Andres Klode1-1/+1
2010-03-10tests/test_all.py: Print the version info on start.Julian Andres Klode1-0/+1
2010-03-10* python/apt_pkgmodule.cc:Julian Andres Klode1-0/+119
- Treat '>>' and '>', '<<' and '<' as identical in check_dep (LP: #535667). * tests: - test_deps: Add tests for apt_pkg.CheckDep, apt_pkg.check_dep, apt_pkg.parse_depends and apt_pkg.parse_src_depends.
2010-03-03* tests/data/aptsources/sources.list.testDistribution:Julian Andres Klode1-2/+2
- change one mirror which is not on the mirror list anymore.
2010-02-13test_all.py: Use local modules instead of system ones if possible.Julian Andres Klode1-0/+15
2010-02-13* tests:Julian Andres Klode2-5/+13
- Fix aptsources tests to use local data files if available.
2010-01-15Merge 0.7.13.5 pre.Julian Andres Klode1-0/+17
2010-01-13add "enhances" propertyMichael Vogt1-0/+17
2009-08-18tests/test_cache_invocation.py: Fix for COMPAT_0_7=0.Julian Andres Klode1-10/+5
We dropped the special progress base classes some time ago, but still checked here.
2009-08-03tests/test_cache_invocation.py: Adapt to new progress API.Julian Andres Klode1-4/+5
2009-07-23tests: Prefix all docstring with the name of the file.Julian Andres Klode4-18/+19
2009-07-17tests: Import more tests from tests/old.Julian Andres Klode7-34/+38
2009-07-17tests/test_cache_invocation.py: Move here from old.Julian Andres Klode2-24/+32
2009-07-17tests/test_hashes.py: Add some more tests, especially about unicode.Julian Andres Klode1-0/+20
2009-07-17tests: First work on the new testsuite.Julian Andres Klode24-0/+124
The module tests.test_all will run all available tests. Each test placed herein must be using unittest and provide at least 1 test case. It must be prefixed with test_.
2009-04-19* Update the code to use the new classes.Julian Andres Klode7-20/+20
2009-04-14* Remove any trailing whitespaceJulian Andres Klode1-3/+3
2009-03-03* python/cache.cc, tests/getcache_mem_corruption.py:Michael Vogt1-0/+24
- test if progress objects have the right methods and raise error if not (thanks to Emanuele Rocca) closes: #497049
2009-01-12Cleanup: Comparisons to True/False, ==/!= None, deprecated modulesJulian Andres Klode4-16/+25
2009-01-11Merge Ben Finney's whitespace changes (Closes: #481563)Julian Andres Klode11-228/+252
2009-01-09Cleanup: Remove whitespace at the end of line in all python codes.Julian Andres Klode8-13/+13
2008-11-10* aptsources/distro.py:Michael Vogt2-0/+96
- add parameter to get_distro() to make unit testing easier * tests/test_aptsources_ports.py: - add test for arch specific handling (when sub arch is on a different mirror than "main" arches)
2008-10-06Test case and proposed fix for Debian bug #497049Emanuele Rocca1-7/+20