diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/archive_tests.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/archive_tests.py b/tests/archive_tests.py index e5b329b5..350220b9 100644 --- a/tests/archive_tests.py +++ b/tests/archive_tests.py @@ -20,7 +20,7 @@ class TarFileArchiveTest(unittest.TestCase): def setUp(self): self.tmpdir = tempfile.mkdtemp() enc = {'encrypt': False} - self.tf = TarFileArchive('test', self.tmpdir, Policy(), 1, enc) + self.tf = TarFileArchive('test', self.tmpdir, Policy(), 1, enc, '/') def tearDown(self): shutil.rmtree(self.tmpdir) @@ -113,6 +113,7 @@ class TarFileArchiveTest(unittest.TestCase): def test_compress(self): self.tf.finalize("auto") + if __name__ == "__main__": unittest.main() |