def test_chia_plots_create_parsing_detects_help( arguments: typing.List[str]) -> None: parsed = job.parse_chia_plots_create_command_line( command_line=['python', 'chia', 'plots', 'create', *arguments], ) assert parsed.help
def test_chia_plots_create_parsing_does_not_fail( arguments: typing.List[str]) -> None: job.parse_chia_plots_create_command_line( command_line=['python', 'chia', 'plots', 'create', *arguments], )
def test_chia_plots_create_parsing_identifies_errors( arguments: typing.List[str]) -> None: parsed = job.parse_chia_plots_create_command_line( command_line=['python', 'chia', 'plots', 'create', *arguments], ) assert parsed.error is not None
def test_chia_plots_create_parsing_handles_argument_forms( arguments: typing.List[str]) -> None: parsed = job.parse_chia_plots_create_command_line( command_line=['python', 'chia', 'plots', 'create', *arguments], ) assert parsed.parameters['size'] == 32
def test_chia_plots_create_parsing_does_not_fail(arguments): job.parse_chia_plots_create_command_line( command_line=['python', 'chia', 'plots', 'create', *arguments], )
def test_chia_plots_create_parsing_detects_not_help(arguments): parsed = job.parse_chia_plots_create_command_line( command_line=['python', 'chia', 'plots', 'create', *arguments], ) assert not parsed.help