diff options
Diffstat (limited to 'python/subunit')
| -rw-r--r-- | python/subunit/tests/test_output_filter.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/python/subunit/tests/test_output_filter.py b/python/subunit/tests/test_output_filter.py index 72ede6a..bddcc99 100644 --- a/python/subunit/tests/test_output_filter.py +++ b/python/subunit/tests/test_output_filter.py @@ -43,6 +43,7 @@ import subunit._output as _o class SafeArgumentParser(argparse.ArgumentParser): + """An ArgumentParser class that doesn't call sys.exit.""" def exit(self, status=0, message=""): raise RuntimeError("ArgumentParser requested to exit with status "\ @@ -52,9 +53,7 @@ class SafeArgumentParser(argparse.ArgumentParser): safe_parse_arguments = partial(parse_arguments, ParserClass=SafeArgumentParser) -class OutputFilterArgumentTests(TestCase): - - """Tests for the command line argument parser.""" +class OutputFilterArgumentParserTests(TestCase): _all_supported_commands = ('start', 'pass', 'fail', 'skip', 'exists') |
