summaryrefslogtreecommitdiff
path: root/test/clitest.py
diff options
context:
space:
mode:
authorjvoisin2016-03-27 19:08:48 +0200
committerjvoisin2016-03-27 19:08:48 +0200
commit368474eaaa6cce9d219ff1963ff31e521eca62e9 (patch)
treeaffd71b4f51861178545c44892c061c0e4e4b56f /test/clitest.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_cli.py (renamed from test/clitest.py)4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/clitest.py b/test/test_cli.py
index 884655f..9f682b9 100644
--- a/test/clitest.py
+++ b/test/test_cli.py
@@ -131,13 +131,13 @@ class TestUnsupported(test.MATTest):
131 """ 131 """
132 tarpath = os.path.join(self.tmpdir, "test.tar.bz2") 132 tarpath = os.path.join(self.tmpdir, "test.tar.bz2")
133 tar = tarfile.open(tarpath, "w") 133 tar = tarfile.open(tarpath, "w")
134 for f in ('libtest.py', 'test.py', 'clitest.py'): 134 for f in ('test_lib.py', 'test.py', 'test_cli.py'):
135 tar.add(f, f) 135 tar.add(f, f)
136 tar.close() 136 tar.close()
137 proc = subprocess.Popen(['mat', tarpath], stdout=subprocess.PIPE) 137 proc = subprocess.Popen(['mat', tarpath], stdout=subprocess.PIPE)
138 stdout, _ = proc.communicate() 138 stdout, _ = proc.communicate()
139 self.assertTrue('It contains unsupported filetypes:' 139 self.assertTrue('It contains unsupported filetypes:'
140 '\n- libtest.py\n- test.py\n- clitest.py\n' 140 '\n- test_lib.py\n- test.py\n- test_cli.py\n'
141 in str(stdout)) 141 in str(stdout))
142 142
143 143