Merge pull request #39669 from BerriAI/litellm_fix_migrate_deploy_harness_popen_seam

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:26:48 -07:00 committed by GitHub
commit 170a1eeb06
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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