test: retarget v2 coverage monkeypatch targets to definition modules after handler split (assertions unchanged)
This commit is contained in:
1 parent
3a72ed3847
commit
36ddc7a874
7 files changed
+45
-48
No files matched your search
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user