Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2015-06-16 | tests/test_paths.py: Add an 'always' warning filter, so it is reliable | Julian Andres Klode | 1 | -2/+6 | |
Previously, the warning was not always issued, causing the test to fail in some cases. Also change the assertions to use the assert* methods of unittest, and check that md5 and hash are mentioned in the deprecation message. Thanks: Adam Conrad Gbp-Dch: ignore | |||||
2015-06-16 | tests/test_paths.py: Fix indentation | Julian Andres Klode | 1 | -4/+4 | |
Geany misdetected it as 8 spaces, but it should be 4. Gbp-Dch: ignore | |||||
2015-06-16 | tests/test_paths.py: Catch and assert the DeprecationWarning | Julian Andres Klode | 1 | -4/+10 | |
This fixes Ubuntu autopkg test failure wily-adt-python-apt #12. https://jenkins.qa.ubuntu.com/job/wily-adt-python-apt/12/ | |||||
2015-05-22 | rename "md5" keyword argument in AcquireFile() to "hash" and add backward ↵ | Michael Vogt | 1 | -0/+14 | |
compatiblity | |||||
2014-03-17 | Support all compressors for data.tar/control.tar (Closes: #718330) | Julian Andres Klode | 1 | -4/+4 | |
This makes our support very flexible, and open for future additions of new compression algorithms. debfile_extract_tar() is almost identical to ExtractTarMember() of apt's debDebFile. | |||||
2014-01-05 | make test_pep8.py pass | Michael Vogt | 1 | -4/+6 | |
2014-01-05 | make pyflakes clean | Michael Vogt | 1 | -1/+0 | |
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 | |