MCPcopy Index your code
hub / github.com/python-cmd2/cmd2 / histitem

Function histitem

tests/test_history.py:369–382  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

367#
368@pytest.fixture
369def histitem():
370 from cmd2.history import (
371 HistoryItem,
372 )
373 from cmd2.parsing import (
374 Statement,
375 )
376
377 statement = Statement(
378 "history",
379 raw="help history",
380 command="help",
381 )
382 return HistoryItem(statement)
383
384
385@pytest.fixture

Callers

nothing calls this directly

Calls 2

StatementClass · 0.90
HistoryItemClass · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…