diff options
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 | ||
