summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)AuthorFilesLines
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
2006-09-06* tests/test_aptsources.py:Michael Vogt2-10/+38
- added another test for the "Distribution()" class
2006-09-06* UpdateManager/Common/aptsources.py, tests/test_aptsources.py:Michael Vogt1-2/+2
- fix test-case-failure in aptsources.py when compents are added
2006-09-05* tests/test_aptsources.py:Michael Vogt2-0/+91
- added unittest code and implement some basic tests for the aptsources.py code * UpdateManager/Common/aptsources.py: - added __eq__ method to SourceEntry
2006-03-22* fixes for the pkgSrcRecords codeMichael Vogt1-1/+1
2006-01-11* added memleak.py in testsMichael Vogt1-0/+42
2005-09-20* added __iter__ support to apt/cache.pyMichael Vogt1-2/+1
2005-09-12* export locking Michael Vogt1-0/+47
2005-08-05* FutureWarning is added, example how to filter it away too. README.apt addedMichael Vogt1-0/+3
2005-08-04* making the interface cleaner (thanks to jamesh): added proerties in the ↵Michael Vogt1-1/+1
Package class
2005-08-03* API BREAK: follow PEP08 now Michael Vogt2-5/+5
2005-06-21* use the pkgProblemResolver on remove as well if needed, added a test for itMichael Vogt1-2/+12
2005-06-20* added support for the pkgProblemResolver()Michael Vogt2-0/+76
2005-05-31* added the code that updates /etc/enviromentMichael Vogt1-5/+2
2005-05-27* basic tests of the native python apt interfaceMichael Vogt1-0/+10
2005-05-27* tests/depcache.py added that tests various bits of the depcacheMichael Vogt2-2/+53
2005-05-04* more tests addedMichael Vogt2-0/+84
* tests/cache.py: - test that iterates over all the cache and dependencies * tests/pkgrecords.py - test that iterates over all the pkgrecords * python/cache.cc - added a comment * python/pkgrecords.cc - return "True" from pkgRecord.Lookup() (to make it consistent with the PkgSrcRecords object)
2005-05-03* merged with Greek0@gmx.net--2005-main, native apt interface added, fixed a ↵Michael Vogt1-0/+25
refcount problem, added tests/ directory * apt/package.py, apt/__init__.py: - started a native python interface that will wrap the uglier bits of python-apt in the future * tests/pkgsrcrecords.py: - started a test directory * python/pkgsrcrecords.cc: - fixed a refcount problem - merged with Greek0s tree Patches applied: * Greek0@gmx.net--2005-main/python-apt--debian--0.6--base-0 tag of apt@packages.debian.org/python-apt--main--0--patch-8 * Greek0@gmx.net--2005-main/python-apt--debian--0.6--patch-1 Minor typo fix in debian/rules * Greek0@gmx.net--2005-main/python-apt--debian--0.6--patch-2 Typo fix in depcache.cc which caused wrong function to be called * Greek0@gmx.net--2005-main/python-apt--debian--0.6--patch-3 Improved CppPyObject, leading to a better PkgDepCacheStruct * Greek0@gmx.net--2005-main/python-apt--debian--0.6--patch-4 Improved build system * Greek0@gmx.net--2005-main/python-apt--debian--0.6--patch-5 Restored the old tar.cc to work with the older apt in debian again * Greek0@gmx.net--2005-main/python-apt--debian--0.6--patch-6 Fix for Debian #304296 (Segfault in CppOwnedDealloc) * Greek0@gmx.net--2005-main/python-apt--debian--0.6--patch-7 Fix for Debian #304903 (FD leak) * Greek0@gmx.net--2005-main/python-apt--debian--0.6--patch-8 Fixed the compilation error introduced in patch-6 * Greek0@gmx.net--2005-main/python-apt--debian--0.6--patch-9 New debian/changelog from Debians python-apt 0.6.10 * Greek0@gmx.net--2005-main/python-apt--debian--0.6--patch-10 Minor changes to make the packages lintian/linda clean * apt@packages.debian.org/python-apt--main--0--patch-8 Merge michael.vogt@ubuntu.com--2005/python-apt--pkgDepCache--0