Add comment about RPM test; remove unneded test for 7z program.

This commit is contained in:
Bastian Kleineidam 2010-03-03 20:26:43 +01:00
parent 5cee1fc9c8
commit 793fe6f7ea
1 changed files with 3 additions and 2 deletions

View File

@ -166,7 +166,6 @@ class TestArchives (ArchiveTest):
self.archive_test('t.rpm') self.archive_test('t.rpm')
self.archive_test('t.deb') self.archive_test('t.deb')
@needs_program('7z')
@needs_codec('7z', 'rar') @needs_codec('7z', 'rar')
def test_p7zip_rar (self): def test_p7zip_rar (self):
# only succeeds with the rar module for 7z installed # only succeeds with the rar module for 7z installed
@ -208,7 +207,9 @@ class TestArchives (ArchiveTest):
def test_rpm (self): def test_rpm (self):
self.program = 'rpm' self.program = 'rpm'
self.archive_list('t.rpm') self.archive_list('t.rpm')
# the rpm test fails on non-rpm system with missing dependencies # The rpm test fails on non-rpm system with missing dependencies.
# I am too lazy to build a tiny rpm with one file
# and no dependency.
#self.archive_test('t.rpm') #self.archive_test('t.rpm')
@needs_program('rpm2cpio') @needs_program('rpm2cpio')