Test cli machinery
source module isofit.test.test_cli_machinery
High-level tests to ensure the CLI is constructed properly.
Functions
-
test_subcommand_registration — Ensure all CLI subcommands are registered.
-
test_version — Ensure
--versionflag works.
source test_subcommand_registration(executable)
Ensure all CLI subcommands are registered.
Test both $ isofit and $ python3 -m isofit.
Ensure --version flag works.