summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)AuthorFilesLines
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
2008-10-04Add tests/getcache_mem_corruption.pyEmanuele Rocca1-0/+11
2008-09-18* python/apt_pkgmodule.cc:Michael Vogt2-0/+10
add "SelState{Unknown,Install,Hold,DeInstall,Purge}" constants - fix detection of cdrom sources and add test for it
2008-09-18* tests/test_aptsources.py:Michael Vogt2-23/+31
- make the test work again
2008-08-08Fix whitespace in changes from 0.7.7.Ben Finney3-0/+68
2008-07-31add test_debextract.pyMichael Vogt1-0/+13
2008-07-31* python/apt_instmodule.cc:Michael Vogt1-0/+10
- do not change working dir in debExtractArchive() (LP: #184093)
2008-07-04add missing test-dataMichael Vogt2-0/+1
2008-07-04* tests/test_hashsums.py:Michael Vogt1-0/+64
- add tests for the hashsum code
2008-05-16Limit code lines to maximum 79 characters, to conform with PEP 8.Ben Finney4-5/+13
2008-05-16Imports on separate lines, to conform with PEP 8.Ben Finney1-1/+2
2008-05-16Fix spaces adjacent to commas and operators, to conform with PEP 8.Ben Finney10-23/+23
2008-05-16Fix code indentation to 4 spaces, to conform with PEP 8.Ben Finney7-197/+197
2008-05-16Fixes to blank lines, to conform with PEP 8.Ben Finney7-1/+11
2008-05-16Remove trailing whitespace.Ben Finney8-14/+14
2007-11-23* tests/refcount.py:Michael Vogt1-1/+20
- add tests for install/remove of packages
2007-11-23* python/progress.cc:Michael Vogt1-0/+35
- fix refcount problem in OpProgress - fix refcount problem in FetchProgress - fix refcount problem in CdromProgress
2007-06-11* build against the new aptMichael Vogt3-0/+144
* support for new "aptsources" pythn module (thanks to Sebastian Heinlein) * merged support for translated package descriptions * merged support for automatic removal of unused dependencies * merged http://glatzor.de/bzr/python-apt/sebi: - this means that the new aptsources modules is available * support translated pacakge descriptions * support automatic dependency information * python/depcache.cc: - "IsGarbage()" method added (to support auto-mark)
2007-06-11* finalized chanagelogMichael Vogt1-0/+2
* fixed bug in tests/pkgrecords.py
2007-01-19* merge aptsources into the source repositorySebastian Heinlein3-0/+144
- skipped the gettext integration, since nearly all strings changed recently (no need to blow up the bzr repo) - still needs integration into the setup procedure - added the update-manager authors to the python-apt ones
2006-10-02* progress.cc:Michael Vogt1-5/+9
- fix memleak in progress.cc * tests/memleak.py: - uncomment the mem-leak code * doc/examples/sources.py: - improved the example
2006-09-10* added new "MirrorsFile" keyword for the DistInfo TagfileMichael Vogt2-3/+14
* look for mirros as well when matching distros
2006-09-09* UpdateManager/Common/aptsources.py:Michael Vogt2-13/+27
- fix "add_component" to correcly add components even under difficult conditions * tests/data/sources.list.testDistribution: - changed the sources.list to make it sufficiently difficult for aptsources * tests/test_aptsources.py: - added other testcase for add_component()
2006-09-07* merged with glatzorMichael Vogt1-1/+1