MCPcopy Create free account
hub / github.com/python-cmd2/cmd2 / test_single_line_format_blank

Function test_single_line_format_blank

tests/test_history.py:459–466  ·  view source on GitHub ↗
(parser)

Source from the content-addressed store, hash-verified

457
458
459def test_single_line_format_blank(parser) -> None:
460 from cmd2.history import (
461 single_line_format,
462 )
463
464 line = ""
465 statement = parser.parse(line)
466 assert single_line_format(statement) == line
467
468
469def test_history_item_instantiate() -> None:

Callers

nothing calls this directly

Calls 2

single_line_formatFunction · 0.90
parseMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…