Add missing GZIP creation to 7z modules.

This commit is contained in:
Bastian Kleineidam 2013-07-26 22:31:53 +02:00
parent b01b31d2ba
commit a37ab688a1
5 changed files with 11 additions and 1 deletions

View File

@ -1,3 +1,9 @@
1.4 (released xx.xx.2013)
* Add missing GZIP creation support for 7z modules.
Closes: GH bug #6
1.3 (released 19.7.2013) 1.3 (released 19.7.2013)
* Add patoolib.__version__ (see PEP 396). * Add patoolib.__version__ (see PEP 396).

View File

@ -44,4 +44,5 @@ from .p7zip import \
test_cab, \ test_cab, \
test_7z, \ test_7z, \
create_7z, \ create_7z, \
create_zip create_zip, \
create_gzip

View File

@ -90,4 +90,5 @@ def create_7z (archive, compression, cmd, verbosity, filenames):
create_zip = \ create_zip = \
create_xz = \ create_xz = \
create_gzip = \
create_7z create_7z

View File

@ -58,6 +58,7 @@ class Test7z (ArchiveTest):
self.archive_test('t.rpm') self.archive_test('t.rpm')
self.archive_test('t.deb') self.archive_test('t.deb')
self.archive_test('t.iso') self.archive_test('t.iso')
self.archive_create('t.txt.gz', check=Content.Singlefile)
@needs_codec(program, 'rar') @needs_codec(program, 'rar')
def test_7z_rar (self): def test_7z_rar (self):

View File

@ -40,6 +40,7 @@ class Test7za (ArchiveTest):
self.archive_test('t.jar') self.archive_test('t.jar')
self.archive_test('t.txt.Z') self.archive_test('t.txt.Z')
self.archive_test('t.cab') self.archive_test('t.cab')
self.archive_create('t.txt.gz', check=Content.Singlefile)
@needs_program('file') @needs_program('file')
@needs_program(program) @needs_program(program)