taucmdr.cli.tests.test_command module

Test functions.

Functions used for unit tests of command.py.

class taucmdr.cli.tests.test_command.CommandTest(methodName='runTest')[source]

Bases: TestCase

_classSetupFailed = False
_class_cleanups = []
test_command()[source]
class taucmdr.cli.tests.test_command.FormatUsageTest(methodName='runTest')[source]

Bases: TestCase

Tests for AbstractCommand.format_usage.

_classSetupFailed = False
_class_cleanups = []
test_cached_parser_unchanged()[source]

Usage without defaults doesn’t change the parser that --help uses.

test_defaults_omitted()[source]
test_defaults_shown()[source]