summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)AuthorFilesLines
2011-12-01py3 fixes/cleanMichael Vogt2-3/+2
2011-11-17allow Dependency object to be iteratable, this allows to writeMichael Vogt1-2/+2
code like: for or_dep_group in pkg.candidate.dependencies: for dep in or_dep_group: do_something()
2011-11-10fix build against apt in experimentalMichael Vogt1-1/+12
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 Vogt3-2/+58
2011-10-19merged from debian/sidMichael Vogt2-2/+2
2011-10-19releasing version 0.8.1Michael Vogt2-2/+2
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-09-28add concept of "ParentComponent" for e.g. ubuntu/multiverseMichael Vogt1-0/+23
that needs universe enabled as well (plus add test) LP: #829284
2011-09-28add concept of "ParentComponent" for e.g. ubuntu/multiverseMichael Vogt1-0/+23
that needs universe enabled as well (plus add test)
2011-08-10releasing version 0.8.0ubuntu6Michael Vogt1-0/+1
2011-08-10* tests/test_all.py:Michael Vogt1-0/+1
- print library dir to hunt down build failure on amd64
2011-08-08disable tests if /etc/apt/sources.list is not readableMichael Vogt1-0/+4
2011-08-08skip tests if sources.list is not readableMichael Vogt1-0/+4
2011-08-08merged from the mvo branchMichael Vogt4-3/+89
2011-08-08tests/test_apt_cache.py: make the test work on PPA buildd chrootsMichael Vogt4-3/+89
2011-08-08merge from the debian-sid branchMichael Vogt1-15/+16
2011-08-08merged from debianMichael Vogt1-2/+8
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-01merged from the debian-sid bzr branchMichael Vogt2-7/+12
2011-08-01test fixesMichael Vogt2-7/+12
2011-08-01* merged from the debian/sid bzr branchMichael Vogt4-3/+10
* Breaks: debsecan (<< 0.4.15) [not only << 0.4.14] (Closes: #629512) * python/arfile.cc: - use APT::Configuration::getCompressionTypes() instead of duplicating the supported methods here * tests/test_debfile.py: - add test for raise on unknown data.tar.xxx * tests/test_aptsources_ports.py, tests/test_aptsources.py: - use tmpdir during the tests to fix test failure with apt from experimental * Upload to unstable * Increase Breaks for update-notifier to 0.99.3debian9 * utils/get_debian_mirrors.py: Adjust for new Alioth SCM urls * debian/control: Standards-Version 3.9.2 * Fix Lintian overrides * Fix spelling errors reported by Lintian (sep[a->e]rated, overrid[d]en) * po/urd.po: Remove, ur.po is the correct file * debian/source/format: Add, set it to "3.0 (native)" * Fix get_changelog in Python 3 (Closes: #626532) * apt/package.py: fix a few typos [formated->formatted] (Closes: #597054) * doc/source/tutorials/contributing.rst: minor improvements (Closes: #625225) - one typo [2to => 2to3], one broken link [pep8.py link] * Esperanto (Closes: #626430)
2011-07-29* tests/test_aptsources_ports.py, tests/test_aptsources.py:Michael Vogt2-3/+4
- use tmpdir during the tests to fix test failure with apt from experimental
2011-07-13* python/arfile.cc:Michael Vogt2-0/+6
- use APT::Configuration::getCompressionTypes() instead of duplicating the supported methods here * tests/test_debfile.py: - add test for raise on unknown data.tar.xxx
2011-05-26merge from debian, omit disable of the 0.7 APIMichael Vogt6-20/+87
2011-04-11apt_pkg: Raise error when parse_commandline gets empty argv (LP: #707416)Julian Andres Klode1-0/+30
2011-04-06* cherry pick multiarch support for aptsources from debianMichael Vogt2-3/+57
* aptsources: Parse multi-arch sources.list files correctly * aptsources: Allow insertion of new multi-arch entries
2011-04-06cherry pick -r 505..506 http://bzr.debian.org/apt/python-apt/debian-experimentalMichael Vogt1-0/+36
2011-04-06cherry pick -r 504..505 http://bzr.debian.org/apt/python-apt/debian-experimentalMichael Vogt2-3/+21
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 Klode3-14/+19
2011-04-06aptsources: Allow insertion of new multi-arch entriesJulian Andres Klode1-0/+36
2011-04-06aptsources: Parse multi-arch sources.list files correctlyJulian Andres Klode2-3/+21
2011-04-05Introduce apt_pkg.Cache.groups and apt_pkg.Cache.group_countJulian Andres Klode1-0/+5
2011-04-05Change apt_pkg.Cache() so that passing None for 'progress' results inJulian Andres Klode3-4/+4
no progress output
2011-04-05Add apt_pkg.Group class, wrapping pkgCache::GrpIteratorJulian Andres Klode1-0/+27
2011-04-04merged from debian-sidMichael Vogt2-2/+5
2011-04-04Fix mixed tab/spaces indentation in xz testJulian Andres Klode1-1/+1
2011-04-04* tests/test_apt_cache.py:Julian Andres Klode1-2/+2
- Package records 'Package' field now corresponds to shortname
2011-04-04* tests/test_debfile.py:Julian Andres Klode1-0/+3
- Disable multi-arch for the test, it fails when run via test_all.py
2011-03-31fix incorrect tab, this fixes a FTBFSMichael Vogt1-1/+1
2011-03-31tests/test_debfile.py: fix using tab by accidentMichael Vogt1-1/+1
2011-03-30* python/arfile.cc, apt/debfile.py:Michael Vogt2-0/+5
- add support for .xz archives * tests/test_debfile.py: - add test for xz compression * update priority of python3-apt to match the archive
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* merged fix for parse_depends() in a multiarch environmentMichael Vogt1-0/+8
from debian/sid branch * apt/progress/text.py: - only run ioctl for termios.TIOCGWINSZ if the fd is a tty * apt/debfile.py, tests/test_debfile.py: - strip "./" from _get_content and add tests, this fixes a control file extraction bug in gdebi * python/depcache.cc: - when using the actiongroup as a contextmanager incref/decref on enter and leave. this should fix the instablity issues that aptdaemon runs into (LP: #691134) * debian/python3-apt.install: - fix py3 extension module install location (thanks to Barry) * python/depcache.cc: - provide bindings for new libapt SetCandidateRelease() * debian/control: - require new libapt-pkg-dev SetCandidateRelease() * py3 compatible exception handline * debian/control: - bump minimal python version to >= 2.6 * python/apt_pkgmodule.cc: - strip multiarch by default in RealParseDepends - add optional parameter to allow parse_depends() to keep the multiarch parameter * tests/test_deps.py: - add test forapt_pkg.parse_depends(strip_multiarch=True)
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 from the mvo branch, added changelog from Michael BieniaMichael Vogt1-1/+1
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)