From 21b98d7dbb548cad9cd8783c10665718bdcb3444 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Sat, 17 Dec 2011 20:50:15 +0000 Subject: remove --command / -c option and $COMMAND and foo.args --- cmdtestlib_tests.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'cmdtestlib_tests.py') diff --git a/cmdtestlib_tests.py b/cmdtestlib_tests.py index 90318b6..a49cdad 100644 --- a/cmdtestlib_tests.py +++ b/cmdtestlib_tests.py @@ -42,11 +42,11 @@ class TestDirTests(unittest.TestCase): def test_finds_tests(self): td = TestDir() - td.scan('tests', filenames=['foo.args']) + td.scan('tests', filenames=['foo.script']) self.assertEqual(len(td.tests), 1) test = td.tests[0] self.assertEqual(test.name, 'foo') - self.assertEqual(test.args, 'tests/foo.args') + self.assertEqual(test.script, 'tests/foo.script') self.assertEqual(test.stdin, None) def test_finds_no_prefixes_when_there_are_none(self): @@ -59,6 +59,6 @@ class TestDirTests(unittest.TestCase): def test_finds_two_prefixes(self): td = TestDir() - self.assertEqual(td.find_prefixes(['setup', 'foo.setup', 'bar.args']), + self.assertEqual(td.find_prefixes(['setup', 'foo.setup', 'bar.script']), ['bar', 'foo']) -- cgit v1.2.1