MCPcopy Create free account
hub / github.com/Textualize/trogon / test_to_cli_string_with_subcommand

Function test_to_cli_string_with_subcommand

tests/test_run_command.py:109–112  ·  view source on GitHub ↗
(user_command_data_with_subcommand)

Source from the content-addressed store, hash-verified

107
108
109def test_to_cli_string_with_subcommand(user_command_data_with_subcommand):
110 cli_string = user_command_data_with_subcommand.to_cli_string(True)
111
112 assert cli_string.plain == "test --option1 value1 --option2 42 123 sub --sub-option True"

Callers

nothing calls this directly

Calls 1

to_cli_stringMethod · 0.80

Tested by

no test coverage detected