fre.tests.test_fre_catalog_cli module

CLI Tests for fre catalog *

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

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

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

  • fre catalog $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_catalog_cli.test_cli_fre_catalog()

fre catalog

fre.tests.test_fre_catalog_cli.test_cli_fre_catalog_build()

fre catalog build

fre.tests.test_fre_catalog_cli.test_cli_fre_catalog_build_help()

fre catalog build –help

fre.tests.test_fre_catalog_cli.test_cli_fre_catalog_help()

fre catalog –help

fre.tests.test_fre_catalog_cli.test_cli_fre_catalog_merge()
fre.tests.test_fre_catalog_cli.test_cli_fre_catalog_merge_help()
fre.tests.test_fre_catalog_cli.test_cli_fre_catalog_opt_dne()

fre catalog optionDNE