fre.tests.test_fre_list_cli module

CLI Tests for fre list *

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

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

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

  • fre list $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_list_cli.test_cli_fre_list()

fre list

fre.tests.test_fre_list_cli.test_cli_fre_list_exps()

fre list exps

fre.tests.test_fre_list_cli.test_cli_fre_list_exps_help()

fre list platforms –help

fre.tests.test_fre_list_cli.test_cli_fre_list_exps_opt_dne()

fre list platforms optionDNE

fre.tests.test_fre_list_cli.test_cli_fre_list_help()

fre list –help

fre.tests.test_fre_list_cli.test_cli_fre_list_opt_dne()

fre list optionDNE

fre.tests.test_fre_list_cli.test_cli_fre_list_platforms()

fre list platforms