mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-07-15 14:22:43 +00:00
test(models): patch the secured request seam
This commit is contained in:
parent
6e75ba7fa0
commit
6fe2c8b78c
1 changed files with 1 additions and 1 deletions
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue