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

Class _Yes

tests/test_installer.py:396–398  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

394 """run('install') completes a full interactive install and prints Done."""
395
396 class _Yes:
397 def ask(self):
398 return True
399
400 monkeypatch.setattr("semble.installer.installer.questionary.confirm", lambda *_, **__: _Yes())
401 run("install")

Callers 1

test_run_completesFunction · 0.85

Calls

no outgoing calls

Tested by 1

test_run_completesFunction · 0.68