summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)AuthorFilesLines
2012-11-19* tests/test_aptsources.py:Colin Watson1-1/+2
- Clean up file object in test_enable_component.
2012-11-19* tests/test_all.py:Colin Watson1-4/+9
- Write general test status output to stdout, not stderr.
2012-11-19* tests/test_debfile_multiarch.py:Colin Watson1-2/+4
- Don't log warnings when skipping tests; the resulting stderr output causes autopkgtest to fail.
2012-11-19* aptsources/distinfo.py, aptsources/distro.py, aptsources/sourceslist.py,Colin Watson2-6/+6
tests/test_apt_cache.py, tests/test_debfile_multiarch.py: - Use logging.warning rather than the deprecated logging.warn.
2012-11-19Try successive keyserver ports if 19191 is already in use.Colin Watson1-3/+25
2012-11-19* tests/test_auth.py:Colin Watson1-6/+24
- Discard stderr from gpg.
2012-11-19* tests/test_apt_cache.py, tests/test_lp659438.py, tests/test_progress.py:Colin Watson3-0/+6
- Clear out APT::Update::Post-Invoke and APT::Update::Post-Invoke-Success in tests that call cache.update to avoid pollution from the host system.
2012-11-08* tests/test_lp659438.py:Colin Watson1-1/+2
- Add an Architecture: line to the test Packages file so that apt doesn't get upset with it.
2012-10-17tests/test_apt_cache.py: delete test_cache_delete_leasks_fds() as its not ↵Michael Vogt1-10/+0
reliable
2012-10-15close cache on (re)openMichael Vogt1-0/+17
2012-10-15add changelog for lp:~jconti/python-apt/closeable-cache and add new test ↵Michael Vogt1-7/+23
"test_cache_close_download_fails"
2012-10-15merged lp:~jconti/python-apt/closeable-cache Michael Vogt1-4/+26
2012-10-12* tests/test_apt_cache.py:Jason Conti1-0/+19
- Add test to verify all files are closed after calling apt.Cache.close()
2012-10-12fix tests on python2.6 by using the python-unittest2 backport for "with ↵Michael Vogt2-4/+17
self.assertRaises()"
2012-10-10cherry pick robustness fixes for keyid (allow leading 0x, allow lowercase)Michael Vogt1-1/+2
2012-10-02merged from lp:~jamesodhunt/python-apt/test-for-size_to_str and tweaked a bitMichael Vogt2-22/+106
2012-10-02merge patch from Barry to fix #1030278Michael Vogt1-0/+22
2012-10-02tests/test_apt_pkg.py: New test, currently only forJames Hunt1-0/+111
size_to_str() method.
2012-10-01check fingerprint after downloading a key and before adding itMichael Vogt1-0/+16
2012-10-01support only downloading long keyids (160bit) in add_key_from_keyserver()Michael Vogt1-1/+2
2012-09-03merged lp:~sampo555/python-apt/fix_1042916Michael Vogt1-0/+14
2012-08-31Enable disabled repository instead of adding a new entry if a duplicate ↵sampo5551-0/+14
disabled entry already exists (LP: #1042916).
2012-06-25* tests/fakeroot-apt-key:Julian Andres Klode1-1/+1
- exec apt-key, otherwise we ignore the return value
2012-06-22* tests:Julian Andres Klode2-3/+15
- Fix new tests from Sebastian to work with Python 2.6
2012-06-15Merge patch from Colin Watson to handle non-UTF8 tag files inJulian Andres Klode1-1/+92
Python 3, by using bytes instead of str when requested; and document this in the RST documentation (Closes: #656288)
2012-06-12merged lp:~glatzor/python-apt/authMichael Vogt2-0/+225
2012-06-12tests/test_utils.py: fix absolute path in the testMichael Vogt1-3/+7
2012-06-11add test for utils.get_release_date_from_release_file and update code for ↵Michael Vogt2-1/+501
more py3 friendliness
2012-06-06Don't compare the headers in the export testSebastian Heinlein1-2/+5
2012-06-06Add a fakeroot wrapper for apt-keySebastian Heinlein2-0/+4
2012-06-06Create the config dir in the testsSebastian Heinlein1-0/+2
2012-06-05pep8 fixesMichael Vogt1-3/+3
2012-06-01Remove importing of the library dir. This is handled by test_allSebastian Heinlein1-3/+0
2012-06-01Python3 fixes and restore apt configuration afterwardsSebastian Heinlein1-7/+16
2012-06-01Add test casesSebastian Heinlein1-0/+210
2012-04-18tests/test_lp659438.py: fix test for py3.2Michael Vogt1-1/+2
2012-04-18tests/test_lp659438.py: ensure apt_pkg.config is reset for later tests via ↵Michael Vogt1-0/+5
workaround
2012-04-17merged lp:~aptdaemon-developers/python-apt/fix-cannot-locate-file with a ↵Michael Vogt1-0/+68
slighly different fix
2012-04-17Add a regression testSebastian Heinlein1-0/+68
2012-04-16tests/test_policy.py: fix test to include priority of 1 tooMichael Vogt1-1/+1
2012-02-03* python/tag.cc, tests/test_tagfile.py:Michael Vogt1-15/+15
- add support a filename argument in apt_pkg.TagFile() (in addition to the file object currently supported)
2012-02-03tests/test_tagfile.py: fix data loading when not in tests dirMichael Vogt1-2/+9
2012-02-03* tests/test_tagfile.py:Michael Vogt3-0/+50
- add test for apt_pkg.TagFile() both for compressed/uncompressed files
2012-01-30GREEN: apt.Version has a "policy_priority" propertyMichael Vogt1-2/+9
2012-01-30RED: apt.Version should have "policy_priority" propertyMichael Vogt1-2/+8
2012-01-30GREEN: policy should suppors PkgVerFile nowMichael Vogt1-6/+7
2012-01-30RED: policy should support verfileMichael Vogt1-0/+31
2011-12-09tests/test_apt_cache.py: use intltool instead of libc6 as the later is not ↵Michael Vogt1-2/+2
available on ia64 or kfreebsd
2011-12-08* tests/test_apt_cache.py:Michael Vogt1-0/+6
- add additional check if provides test can actually be run
2011-12-08tests/test_apt_cache.py: change test to test for python3 instead of xterm to ↵Michael Vogt1-2/+2
fix test failure on certain buildds