fre.tests.test_fre_run_cli module

CLI Tests for fre run *

Tests the command-line-interface calls for tools in the fre run suite. Each tool generally gets 3 tests:

  • fre run $tool, checking for exit code 0 (fails if cli isn’t configured right)

  • fre run $tool –help, checking for exit code 0 (fails if the code doesn’t run)

  • fre run $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_run_cli.test_cli_fre_run()

fre run

fre.tests.test_fre_run_cli.test_cli_fre_run_help()

fre run –help

fre.tests.test_fre_run_cli.test_cli_fre_run_opt_dne()

fre run optionDNE