fre.tests.test_fre_check_cli module
CLI Tests for fre check *
Tests the command-line-interface calls for tools in the fre check suite. Each tool generally gets 3 tests:
fre check $tool, checking for exit code 0 (fails if cli isn’t configured right)
fre check $tool –help, checking for exit code 0 (fails if the code doesn’t run)
fre check $tool –optionDNE, checking for exit code 2 (fails if cli isn’t configured right and thinks the tool has a –optionDNE option)
- fre.tests.test_fre_check_cli.test_cli_fre_check()
fre check
- fre.tests.test_fre_check_cli.test_cli_fre_check_help()
fre check –help
- fre.tests.test_fre_check_cli.test_cli_fre_check_opt_dne()
fre check optionDNE