summaryrefslogtreecommitdiff
path: root/test/libtest.py
diff options
context:
space:
mode:
authorjvoisin2016-03-27 19:08:48 +0200
committerjvoisin2016-03-27 19:08:48 +0200
commit368474eaaa6cce9d219ff1963ff31e521eca62e9 (patch)
treeaffd71b4f51861178545c44892c061c0e4e4b56f /test/libtest.py
parentcae9853318964813b60db05e71d431eb49366d34 (diff)
Move some testfiles around
The long-term goal is to use nose2 for testing
Diffstat (limited to '')
-rw-r--r--test/test_lib.py (renamed from test/libtest.py)4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/libtest.py b/test/test_lib.py
index 98cb4ea..33b3a02 100644
--- a/test/libtest.py
+++ b/test/test_lib.py
@@ -175,12 +175,12 @@ class TestArchiveProcessing(test.MATTest):
175 """ 175 """
176 tarpath = os.path.join(self.tmpdir, "test.tar.bz2") 176 tarpath = os.path.join(self.tmpdir, "test.tar.bz2")
177 tar = tarfile.open(tarpath, "w") 177 tar = tarfile.open(tarpath, "w")
178 for f in ('libtest.py', 'test.py', 'clitest.py'): 178 for f in ('test_lib.py', 'test.py', 'test_cli.py'):
179 tar.add(f, f) 179 tar.add(f, f)
180 tar.close() 180 tar.close()
181 current_file = libmat.mat.create_class_file(tarpath, False, add2archive=False) 181 current_file = libmat.mat.create_class_file(tarpath, False, add2archive=False)
182 unsupported_files = set(current_file.is_clean(list_unsupported=True)) 182 unsupported_files = set(current_file.is_clean(list_unsupported=True))
183 self.assertEqual(unsupported_files, {'libtest.py', 'test.py', 'clitest.py'}) 183 self.assertEqual(unsupported_files, {'test_lib.py', 'test.py', 'test_cli.py'})
184 184
185 def test_archive_unwritable_content(self): 185 def test_archive_unwritable_content(self):
186 path = os.path.join(self.tmpdir, './unwritable_content.zip') 186 path = os.path.join(self.tmpdir, './unwritable_content.zip')