This commit is contained in:
2026-01-24 02:24:31 +03:00
parent 70bbbd76ce
commit 46c1ec02fd
3 changed files with 2 additions and 18 deletions
-16
View File
@@ -354,22 +354,6 @@ def test_set_exit_command_handler_stores_handler() -> None:
assert app._exit_command_handler is handler
# ============================================================================
# Tests for default view setup
# ============================================================================
def test_setup_default_view_formats_prompt() -> None:
app = App(prompt='>>')
assert app._prompt == '<gray><b>>></b></gray>'
def test_setup_default_view_sets_default_unknown_command_handler() -> None:
app = App()
app._setup_default_view()
assert app._unknown_command_handler(InputCommand('nonexists')) is None
# ============================================================================
# Tests for command processing
# ============================================================================