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

Function test_to_cli_string_no_subcommand

tests/test_run_command.py:103–106  ·  view source on GitHub ↗
(user_command_data_no_subcommand)

Source from the content-addressed store, hash-verified

101
102
103def test_to_cli_string_no_subcommand(user_command_data_no_subcommand):
104 cli_string = user_command_data_no_subcommand.to_cli_string(True)
105
106 assert cli_string.plain == "test --option1 value1 --option2 42 123"
107
108
109def test_to_cli_string_with_subcommand(user_command_data_with_subcommand):

Callers

nothing calls this directly

Calls 1

to_cli_stringMethod · 0.80

Tested by

no test coverage detected