summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)AuthorFilesLines
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)
2010-12-21meged from mvoMichael Vogt1-1/+11
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-13merged from lp:~mvo/python-apt/mvoMichael Vogt1-3/+3
2010-12-13tests/test_apt_cache.py: fix testsMichael Vogt1-3/+3
2010-12-07merged from the mvo branchMichael Vogt1-0/+8
2010-12-07tests/test_all.py: add workaround for py3.2Michael Vogt1-0/+8
2010-11-24merged from lp:~mvo/python-apt/mvoMichael Vogt1-10/+7
2010-11-24* tests/test_apt_cache.py:Michael Vogt1-10/+7
- fix tests to work if apt compressed indexes are enabled
2010-10-18fix compat issues with python3Michael Vogt1-6/+6
2010-10-15merged from the debian-sid branchMichael Vogt3-5/+26
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 the mvo branchMichael Vogt1-0/+4
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-07merged from the mvo branchMichael Vogt1-1/+2
2010-09-07tests/test_apt_cache.py: fix testMichael Vogt1-1/+2
2010-09-07* add "provides" property to the apt.Version objectsMichael Vogt5-1/+73
* apt/debfile.py: - fix error when reading binary content and add regresion test * merged patch from Samuel Lidén Borell to fix crash if there utf8 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()
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)