ezpz.cli.test_cmd⚓︎
Click-based test CLI to keep ezpz test and ezpz-test in sync.
test_cmd(args)
⚓︎
Run the distributed smoke test.
Source code in src/ezpz/cli/test_cmd.py
@click.command(
context_settings={
"ignore_unknown_options": True,
"help_option_names": [],
},
add_help_option=False,
)
@click.option(
"--help",
"-h",
is_flag=True,
is_eager=True,
expose_value=False,
callback=_print_help,
help="Show this message and exit.",
)
@click.argument("args", nargs=-1, type=click.UNPROCESSED)
def test_cmd(args: tuple[str, ...]) -> None:
"""Run the distributed smoke test."""
from ezpz import test as test_module
rc = test_module.main(list(_ensure_sequence(args)))
if rc:
raise click.exceptions.Exit(rc)