diff --git a/tests/hermes_cli/test_api_key_providers.py b/tests/hermes_cli/test_api_key_providers.py index ad864f8cd9d..4e596b212d0 100644 --- a/tests/hermes_cli/test_api_key_providers.py +++ b/tests/hermes_cli/test_api_key_providers.py @@ -1215,7 +1215,7 @@ class TestNovitaProvider: return _FakeResp() monkeypatch.setattr( - models_mod.urllib.request, "urlopen", fake_urlopen + models_mod, "_urlopen_model_catalog_request", fake_urlopen ) # First call hits the network.