mirror of
https://github.com/dograh-hq/dograh.git
synced 2026-06-13 08:15:21 +02:00
parent
6d78537297
commit
6f79bd67eb
5 changed files with 38 additions and 11 deletions
|
|
@ -215,9 +215,7 @@ def test_runtime_blocks_elevenlabs_local_tts_base_url_in_saas(monkeypatch):
|
|||
|
||||
|
||||
def test_embedding_service_blocks_private_base_url_in_saas(monkeypatch):
|
||||
monkeypatch.setattr(
|
||||
"api.utils.url_security.DEPLOYMENT_MODE", "saas"
|
||||
)
|
||||
monkeypatch.setattr("api.utils.url_security.DEPLOYMENT_MODE", "saas")
|
||||
|
||||
with pytest.raises(ValueError, match="public IP"):
|
||||
OpenAIEmbeddingService(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue