From 59782ad64e02d840a03e3dbdf0e5d8230c27ace1 Mon Sep 17 00:00:00 2001
From: Darko Poljak <foss@ungleich.com>
Date: Fri, 11 Aug 2017 01:20:45 +0200
Subject: [PATCH] Fix unit test.

---
 cdist/test/autil/__init__.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cdist/test/autil/__init__.py b/cdist/test/autil/__init__.py
index 28989058..a78feaad 100644
--- a/cdist/test/autil/__init__.py
+++ b/cdist/test/autil/__init__.py
@@ -41,7 +41,7 @@ class AUtilTestCase(test.CdistTestCase):
         }
         source = explorers_path
         for mode in test_modes:
-            tarpath = autil.tar(source, mode)
+            tarpath, fcnt = autil.tar(source, mode)
             self.assertIsNotNone(tarpath)
             fcnt = 0
             with tarfile.open(tarpath, test_modes[mode]) as tar: