Assert that created archive exists in archive test.
This commit is contained in:
parent
960d15cd76
commit
22dd316db9
|
@ -90,6 +90,7 @@ class ArchiveTest (unittest.TestCase):
|
|||
os.chdir(tmpdir)
|
||||
try:
|
||||
patoolib._handle_archive(archive, 'create', topack, **kwargs)
|
||||
self.assertTrue(os.path.isfile(archive))
|
||||
# not all programs can test what they create
|
||||
if self.program == 'compress':
|
||||
program = 'gzip'
|
||||
|
|
Loading…
Reference in New Issue