MCPcopy Create free account
hub / github.com/debpalash/VoiceStudio / fail_requested_commit

Function fail_requested_commit

tests/test_worker_join_api.py:724–727  ·  view source on GitHub ↗
(key, value)

Source from the content-addressed store, hash-verified

722 failing_value = "true" if enabled else "false"
723
724 def fail_requested_commit(key, value):
725 if key == "worker_mode_enabled" and value == failing_value:
726 raise OSError("settings commit failed")
727 real_set_text(key, value)
728
729 monkeypatch.setattr(
730 services.settings_store, "set_text", staticmethod(fail_requested_commit)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected