summaryrefslogtreecommitdiff
path: root/test/libtest.py
diff options
context:
space:
mode:
authorjvoisin2014-01-06 12:10:10 +0000
committerjvoisin2014-01-06 12:10:10 +0000
commit1abbb32ccb8747c8d30b8fcde6a0e2898816fc69 (patch)
treebb65a908b0dffcc5077784501db7a47f6f3d9a6b /test/libtest.py
parent5d8f4b5c82f13e533248d88faefdd1cadebb1eb6 (diff)
Nested archives are not supported by the GUI
Diffstat (limited to '')
-rw-r--r--test/libtest.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/libtest.py b/test/libtest.py
index a9ef383..e0c2f57 100644
--- a/test/libtest.py
+++ b/test/libtest.py
@@ -132,8 +132,7 @@ class TestArchiveProcessing(test.MATTest):
132 def test_get_unsupported(self): 132 def test_get_unsupported(self):
133 tarpath = os.path.join(self.tmpdir, "test.tar.bz2") 133 tarpath = os.path.join(self.tmpdir, "test.tar.bz2")
134 tar = tarfile.open(tarpath, "w") 134 tar = tarfile.open(tarpath, "w")
135 for clean,dirty in self.file_list[:4]: # we don't test thoses 135 for clean,_ in self.file_list[:4]: # we don't test thoses
136 tar.add(dirty)
137 tar.add(clean) 136 tar.add(clean)
138 for f in ('../mat.desktop', '../README.security', '../setup.py'): 137 for f in ('../mat.desktop', '../README.security', '../setup.py'):
139 tar.add(f, f[3:]) # trim '../' 138 tar.add(f, f[3:]) # trim '../'