def _test_cli(self, extra_args: List):
    """Tests that the default Flash zero configuration runs for the task."""
    cli_args = ["flash", self.cli_command, "--trainer.fast_dev_run", "True"] + extra_args
    with patch("sys.argv", cli_args), contextlib.suppress(SystemExit):
        main()
Tests that the default Flash zero configuration runs for the task.
tests/helpers/task_tester.py