taucmdr.cli.commands.tests.test_help module¶
Test functions.
Functions used for unit tests of help.py.
- class taucmdr.cli.commands.tests.test_help.HelpTest(methodName='runTest')[source]¶
Bases:
TestCaseUnit tests for taucmdr help
- _classSetupFailed = False¶
- _class_cleanups = []¶
- test_command_before_file()[source]¶
A command name is looked up as a command even when a file has the same name.
- test_directory_name()[source]¶
Help for a directory that isn’t a command produces an unknown command error.
- test_file_hint_outside_project()[source]¶
tau help <file>prints the file hint without needing a project.
- test_source_file_types()[source]¶
Source files are recognized by extension, whether or not the host has a mime.types file.
- test_unknown_binary_file()[source]¶
A binary file without a recognized extension is identified as binary.