MCPcopy Create free account
hub / github.com/executablebooks/markdown-it-py / mock_input

Function mock_input

tests/test_cli.py:39–40  ·  view source on GitHub ↗
(prompt)

Source from the content-addressed store, hash-verified

37
38def test_interactive():
39 def mock_input(prompt):
40 raise KeyboardInterrupt
41
42 with patch("builtins.print") as patched, patch("builtins.input", mock_input):
43 parse.interactive()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…