summaryrefslogtreecommitdiff
path: root/tests/test_tagfile.py
AgeCommit message (Collapse)AuthorFilesLines
2015-05-15tests/test_tagfile.py: Close files we opened to prevent leakageJulian Andres Klode1-4/+4
This bug was initially experienced in the Ubuntu automatic package testing environment, and they fixed it in 0.9.4ubuntu1 with the same (obvious) patch. The bug was reported in Debian as #785337 with a different patch. Compared to the patch suggested in the bug tracker, this version is more idiomatic Python. Closes: #785337
2014-11-07apt/debfile.py: use apt_pkg.open_maybe_clear_signed_file() when opening a ↵Michael Vogt1-2/+2
.dsc file
2014-11-06Add binding for apt_pkg.maybe_open_clear_signed_file()Michael Vogt1-0/+23
2014-06-10Revert "Merge remote-tracking branch 'mvo/feature/srcrec-enum' into debian/sid"Michael Vogt1-24/+0
This reverts commit 1b6b123a052ca2d53e90b62da09ce300d701265a, reversing changes made to 9de6a183f09f0d0adbcc5817872c5a0024f5ef47.
2014-06-10Merge remote-tracking branch 'mvo/feature/srcrec-enum' into debian/sidMichael Vogt1-0/+24
Conflicts: debian/control
2014-01-05make test_pep8.py passMichael Vogt1-0/+1
2012-11-20tests/*.py: Do not prepend None to sys.path, Python 3.3 redeems that withMartin Pitt1-1/+3
an unintelligible crash.
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-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 Vogt1-0/+35
- add test for apt_pkg.TagFile() both for compressed/uncompressed files