MCPcopy
hub / github.com/MinishLab/semble / _No

Class _No

tests/test_installer.py:408–410  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

406 """Run exits when the user declines the confirmation prompt."""
407
408 class _No:
409 def ask(self):
410 return False
411
412 monkeypatch.setattr("semble.installer.installer.questionary.confirm", lambda *_, **__: _No())
413 with pytest.raises(SystemExit):

Callers 1

test_run_cancelsFunction · 0.85

Calls

no outgoing calls

Tested by 1

test_run_cancelsFunction · 0.68