test(proxy-extras): fake run_prisma instead of subprocess.run in the migrate deploy harness

This commit is contained in:
Yuneng Jiang 2026-09-03 16:10:44 -07:00
parent a5b3bc887a
commit 7bdd148f38
No known key found for this signature in database

View file

@ -763,7 +763,7 @@ class _MigrateDeployHarness:
"_resolve_specific_migration",
staticmethod(self.resolved.append),
)
monkeypatch.setattr(utils_module.subprocess, "run", self._fake_run)
monkeypatch.setattr(utils_module.prisma_toolchain, "run_prisma", self._fake_run)
monkeypatch.setattr(utils_module.time, "sleep", lambda seconds: None)
self.baseline_succeeds = True