summaryrefslogtreecommitdiff
path: root/tests/test_debfile.py
AgeCommit message (Collapse)AuthorFilesLines
2015-06-21fix py3 issue with auto .gz decompression and add testMichael Vogt1-0/+5
2015-06-10apt.debfile: Fix splitting of multi-lines Binary fields in dsc filesJulian Andres Klode1-2/+2
In a multi-line field, a comma might be followed by a newline instead of a space. Closes: #751770
2014-09-03read all tags from a dsc file and improve testsMichael Vogt1-7/+21
2014-09-03add support for apt.debfile.DscSrcPackage.filelistMichael Vogt1-0/+4
2014-09-02Stop reading after the "Format" stanza in a .dsc fileMichael Vogt1-0/+1
This makes the tagfile parser skip the last gpg signature part that also contains a "Version:" line.
2014-03-17Support all compressors for data.tar/control.tar (Closes: #718330)Julian Andres Klode1-0/+6
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-05make test_pep8.py passMichael Vogt1-12/+18
2014-01-05make pyflakes cleanMichael Vogt1-9/+2
2013-10-21apt/debfile.py: Pass strip_multi_arch=False to parse_depends.Julian Andres Klode1-0/+17
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-06-06add support for "key in apt.debfile.DebPackage" (closes: #710541)Michael Vogt1-0/+4
2012-11-20tests/*.py: Do not prepend None to sys.path, Python 3.3 redeems that withMartin Pitt1-1/+3
an unintelligible crash.
2011-12-08* lp:~mvo/python-apt/debfile-multiarch:Michael Vogt1-11/+2
- add multiarch support to the debfile.py code
2011-12-01merged from lp:~mvo/apt/mvoMichael Vogt1-3/+2
2011-12-01fix debfile binary test for py3Michael Vogt1-5/+0
2011-12-01py3 fixes/cleanMichael Vogt1-2/+2
2011-11-22tests/test_debfile.py: remove unneeded debug printMichael Vogt1-1/+1
2011-11-22tests/test_debfile.py: fix test on python2.6Michael Vogt1-2/+1
2011-11-22tests/test_debfile.py: remove debug printMichael Vogt1-1/+1
2011-11-22tests/test_debfile.py: fix test after previous exception changeMichael Vogt1-1/+1
2011-11-22cleanup based on feedback from juliankMichael Vogt1-5/+7
2011-11-10fix build against apt in experimentalMichael Vogt1-1/+12
2011-10-21first cut of multiarch support, tests still fail thoughMichael Vogt1-3/+5
2011-08-01test fixesMichael Vogt1-3/+7
2011-07-13* python/arfile.cc:Michael Vogt1-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-04-04Fix mixed tab/spaces indentation in xz testJulian Andres Klode1-1/+1
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-21* python/arfile.cc, apt/debfile.py:Michael Vogt1-0/+5
- add support for .xz archives * tests/test_debfile.py: - add test for xz compression
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-09-08fix a bunch of python3.1 releated test failuresMichael Vogt1-0/+5
2010-09-02merged patch from Samuel Lidén Borell to fix crash if there utf8 Michael Vogt1-0/+7
in the control file (LP: #624290) and add test
2010-08-31* apt/debfile.py:Michael Vogt1-2/+3
- fix error when reading binary content and add regresion test
2010-08-31tests/test_debfile.py: add test for binary readingMichael Vogt1-0/+6
2010-08-31add content reading testMichael Vogt1-0/+6
2010-08-05tests/test_debfile.py: make it work on amd64, improve failure messageMichael Vogt1-2/+6
2010-08-05merged from debian-sid, fix crash in Dsc file handlingMichael Vogt1-0/+8
2010-08-05* apt/debfile.py:Michael Vogt1-0/+8
- fix crash in DscFile handling and add regression test
2010-08-05* apt/debfile.py:Michael Vogt1-0/+6
- fix crash in DscFile handling and add regression test
2010-07-12apply fix from juliank for the tests (many thanks!)Michael Vogt1-0/+2
2010-07-12merged from debian-sid, improve test outputMichael Vogt1-4/+4
2010-07-12tests/test_debfile.py: move test_debs into tests/dataMichael Vogt1-2/+2
2010-07-12tests/test_debfile.py: add fixture dpkg-status file to make tests workMichael Vogt1-4/+11
2010-07-06fix debfile to work with py3, update testsMichael Vogt1-1/+2
2010-07-02* tests/test_debs/*.deb, tests/test_debfile.py:Michael Vogt1-0/+56
- add automatic test based on the test debs from gdebi