diff options
Diffstat (limited to 'test/test_cmdline.py')
-rw-r--r-- | test/test_cmdline.py | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/test/test_cmdline.py b/test/test_cmdline.py index 21639cdb..20c9c5d4 100644 --- a/test/test_cmdline.py +++ b/test/test_cmdline.py @@ -5,11 +5,9 @@ import mock import coverage sys.path.insert(0, os.path.split(__file__)[0]) # Force relative import for Py3k -from coveragetest import CoverageTest +from coveragetest import CoverageTest, OK, ERR -OK, ERR = 0, 1 - class CmdLineTest(CoverageTest): """Tests of execution paths through the command line interpreter.""" @@ -19,15 +17,6 @@ class CmdLineTest(CoverageTest): .coverage(cover_pylib=None, data_suffix=False, timid=None, branch=None) .load()\n""" - def command_line(self, args, ret=OK): - """Run `args` through the command line. - - Checks that `ret` is returned. - - """ - ret_actual = coverage.CoverageScript().command_line(shlex.split(args)) - self.assertEqual(ret_actual, ret) - def model_object(self): """Return a Mock suitable for use in CoverageScript.""" mk = mock.Mock() |