test: retarget v2 coverage monkeypatch targets to definition modules after handler split (assertions unchanged)

This commit is contained in:
host committed 2026-11-03 02:49:26 +00:00
1 parent 6e0660e97b
commit 741eb387ed
7 files changed
+45 -48

No files matched your search

+1 -1
View File
@@ -350,7 +350,7 @@ class AutomationTestCase(_Base):
def test_automation_create_generic_error_502(self):
self._project()
h = self._h(body={"name": "a1", "prompt": "p"})
with mock.patch("cloud.server._auto_create",
with mock.patch("cloud.handler_automation._auto_create",
side_effect=RuntimeError("db boom")):
h._automation_create("u1", "p1")
code, payload = self._last(h)