| Age | Commit message (Collapse) | Author | Files | Lines | |
|---|---|---|---|---|---|
| 2014-01-25 | tests/test_deps.py: test_dstr cleanup and fixes | Julian Andres Klode | 1 | -22/+13 | |
| Simplify the code by not stating all test cases in the code, but using a loop. Also adds more tests this way. | |||||
| 2014-01-23 | tests/test_aptsources.py: Fix regression in d95a8f2 | Julian Andres Klode | 1 | -1/+1 | |
| Commit d95a8f27774842beb43bda54c4c61b67fe76a032 introduced a regression in this test that did not catch an invalid False value for the trusted property of a source without trusted set. | |||||
| 2014-01-07 | tests: Add back test_hashsums from old and update | Julian Andres Klode | 3 | -24/+27 | |
| These are automatic tests and they still work, so it's pointless not to use them. | |||||
| 2014-01-06 | tests/test_deps.py: Remove an invalid blank line | Julian Andres Klode | 1 | -1/+0 | |
| Fixes pep8 | |||||
| 2014-01-06 | apt/package.py: Fix BaseDependency.__dstr.__ne__() | Julian Andres Klode | 1 | -0/+28 | |
| It turns out I missed this. Just simplify it to return not self.__eq__(other). Also add a test case for it. Reported-by: Michael Schaller <michael@5challer.de> | |||||
| 2014-01-06 | tests: Remove checks for Python older than 2.7 | Julian Andres Klode | 3 | -24/+5 | |
| This simplifies the test code a tiny bit. | |||||
| 2014-01-06 | Drop support for Python 2.6 | Julian Andres Klode | 1 | -9/+2 | |
| This will allow us to use more Python 3 idioms in the code, and possibly even get a single code base that works in Python 2.7 and Python 3.3 and newer. | |||||
| 2014-01-06 | Style fix: Do not use "is True" / "is False" | Julian Andres Klode | 1 | -2/+2 | |
| This is uncommon style. It's better to use "pred" instead of "pred is True" and "not pred" instead of "pred is False". | |||||
| 2014-01-05 | make test_pep8.py pass | Michael Vogt | 24 | -150/+176 | |
| 2014-01-05 | make pyflakes clean | Michael Vogt | 9 | -21/+5 | |
| 2014-01-05 | add pyflakes test | Michael Vogt | 1 | -0/+41 | |
| 2014-01-05 | make pep8 test part of the unittests | Michael Vogt | 1 | -0/+27 | |
| 2013-10-21 | tests/old/*.py: Update to new API as well | Julian Andres Klode | 11 | -110/+110 | |
| 2013-10-21 | aptsources: Correctly parse multiple options (LP: #1103200) | Julian Andres Klode | 2 | -2/+20 | |
| It's still not optimal and we do not support the arch+ and arch- options, but it's a beginning. | |||||
| 2013-10-21 | apt/debfile.py: Pass strip_multi_arch=False to parse_depends. | Julian Andres Klode | 4 | -0/+56 | |
| Patch by Michael, tests derived from the ones provided by the reporter. I included the test debs without the source package, as for our use case, all needed "source code" is included in the package itself anyway. Reported-By: Francois Gouget <fgouget@free.fr> Closes: #717859 Closes: #717861 | |||||
| 2013-10-14 | tests/test_path.py: Use "Dir" option instead of "RootDir", and reset in tearDown | Julian Andres Klode | 1 | -3/+3 | |
| This fixes tests/test_all.py. | |||||
| 2013-10-14 | Add tests for (all except one) functions accepting paths | Julian Andres Klode | 1 | -0/+106 | |
| Test the functions with a unicode and a byte object each. I ignore PackageManager.install, because I cannot imagine an easy way to test that one. | |||||
| 2013-10-14 | python/indexrecords.cc: IndexRecords.load() needs to accept bytes as well | Julian Andres Klode | 1 | -0/+29 | |
| 2013-10-10 | tests: Do not set dir::etc::sourceparts to /tmp | Julian Andres Klode | 2 | -2/+4 | |
| This can cause build failures if *.list files are present in /tmp. Use /dev/null instead (not a directory, but APT silently ignores this). | |||||
| 2013-06-06 | add support for "key in apt.debfile.DebPackage" (closes: #710541) | Michael Vogt | 1 | -0/+4 | |
| 2013-03-13 | python2.6 compat fixes | Michael Vogt | 1 | -1/+8 | |
| 2012-11-20 | tests/test_auth.py: Temporarily disable $http_proxy for the tests, as | Martin Pitt | 1 | -0/+11 | |
| gnupg does not get along with proxies (LP #789049) | |||||
| 2012-11-20 | tests/test_auth.py: In test_add_key_from_server_mitm(), show the exception | Martin Pitt | 1 | -1/+1 | |
| if it does not match the expectation, so that this becomes possible to debug. | |||||
| 2012-11-20 | tests/*.py: Do not prepend None to sys.path, Python 3.3 redeems that with | Martin Pitt | 4 | -4/+12 | |
| an unintelligible crash. | |||||
| 2012-11-19 | * tests/test_aptsources.py: | Colin Watson | 1 | -1/+2 | |
| - Clean up file object in test_enable_component. | |||||
| 2012-11-19 | * tests/test_all.py: | Colin Watson | 1 | -4/+9 | |
| - Write general test status output to stdout, not stderr. | |||||
| 2012-11-19 | * tests/test_debfile_multiarch.py: | Colin Watson | 1 | -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 Watson | 2 | -6/+6 | |
| tests/test_apt_cache.py, tests/test_debfile_multiarch.py: - Use logging.warning rather than the deprecated logging.warn. | |||||
| 2012-11-19 | Try successive keyserver ports if 19191 is already in use. | Colin Watson | 1 | -3/+25 | |
| 2012-11-19 | * tests/test_auth.py: | Colin Watson | 1 | -6/+24 | |
| - Discard stderr from gpg. | |||||
| 2012-11-19 | * tests/test_apt_cache.py, tests/test_lp659438.py, tests/test_progress.py: | Colin Watson | 3 | -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 Watson | 1 | -1/+2 | |
| - Add an Architecture: line to the test Packages file so that apt doesn't get upset with it. | |||||
| 2012-10-17 | tests/test_apt_cache.py: delete test_cache_delete_leasks_fds() as its not ↵ | Michael Vogt | 1 | -10/+0 | |
| reliable | |||||
| 2012-10-15 | close cache on (re)open | Michael Vogt | 1 | -0/+17 | |
| 2012-10-15 | add changelog for lp:~jconti/python-apt/closeable-cache and add new test ↵ | Michael Vogt | 1 | -7/+23 | |
| "test_cache_close_download_fails" | |||||
| 2012-10-15 | merged lp:~jconti/python-apt/closeable-cache | Michael Vogt | 1 | -4/+26 | |
| 2012-10-12 | * tests/test_apt_cache.py: | Jason Conti | 1 | -0/+19 | |
| - Add test to verify all files are closed after calling apt.Cache.close() | |||||
| 2012-10-12 | fix tests on python2.6 by using the python-unittest2 backport for "with ↵ | Michael Vogt | 2 | -4/+17 | |
| self.assertRaises()" | |||||
| 2012-10-10 | cherry pick robustness fixes for keyid (allow leading 0x, allow lowercase) | Michael Vogt | 1 | -1/+2 | |
| 2012-10-02 | merged from lp:~jamesodhunt/python-apt/test-for-size_to_str and tweaked a bit | Michael Vogt | 2 | -22/+106 | |
| 2012-10-02 | merge patch from Barry to fix #1030278 | Michael Vogt | 1 | -0/+22 | |
| 2012-10-02 | tests/test_apt_pkg.py: New test, currently only for | James Hunt | 1 | -0/+111 | |
| size_to_str() method. | |||||
| 2012-10-01 | check fingerprint after downloading a key and before adding it | Michael Vogt | 1 | -0/+16 | |
| 2012-10-01 | support only downloading long keyids (160bit) in add_key_from_keyserver() | Michael Vogt | 1 | -1/+2 | |
| 2012-09-03 | merged lp:~sampo555/python-apt/fix_1042916 | Michael Vogt | 1 | -0/+14 | |
| 2012-08-31 | Enable disabled repository instead of adding a new entry if a duplicate ↵ | sampo555 | 1 | -0/+14 | |
| disabled entry already exists (LP: #1042916). | |||||
| 2012-06-25 | * tests/fakeroot-apt-key: | Julian Andres Klode | 1 | -1/+1 | |
| - exec apt-key, otherwise we ignore the return value | |||||
| 2012-06-22 | * tests: | Julian Andres Klode | 2 | -3/+15 | |
| - Fix new tests from Sebastian to work with Python 2.6 | |||||
| 2012-06-15 | Merge patch from Colin Watson to handle non-UTF8 tag files in | Julian Andres Klode | 1 | -1/+92 | |
| Python 3, by using bytes instead of str when requested; and document this in the RST documentation (Closes: #656288) | |||||
| 2012-06-12 | merged lp:~glatzor/python-apt/auth | Michael Vogt | 2 | -0/+225 | |
