test(models): patch the secured request seam

This commit is contained in:
kshitijk4poor 2026-07-11 11:31:24 +05:30 committed by kshitij
parent 6e75ba7fa0
commit 6fe2c8b78c

View file

@ -165,7 +165,7 @@ def test_fetch_api_models_sends_extra_headers_to_models_probe(monkeypatch):
}
return FakeResponse()
monkeypatch.setattr(models_mod.urllib.request, "urlopen", fake_urlopen)
monkeypatch.setattr(models_mod, "_urlopen_model_catalog_request", fake_urlopen)
models = models_mod.fetch_api_models(
"proxy-key",