Fix unit test.

This commit is contained in:
Darko Poljak 2017-08-11 01:20:45 +02:00
parent d5d7f0dd37
commit 59782ad64e
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ class AUtilTestCase(test.CdistTestCase):
} }
source = explorers_path source = explorers_path
for mode in test_modes: for mode in test_modes:
tarpath = autil.tar(source, mode) tarpath, fcnt = autil.tar(source, mode)
self.assertIsNotNone(tarpath) self.assertIsNotNone(tarpath)
fcnt = 0 fcnt = 0
with tarfile.open(tarpath, test_modes[mode]) as tar: with tarfile.open(tarpath, test_modes[mode]) as tar: