From dc2e9be3b4ffa5e11e6a84f321c5998171541fd2 Mon Sep 17 00:00:00 2001 From: Piero Savastano Date: Mon, 28 Aug 2023 19:30:39 +0200 Subject: [PATCH] fix test --- core/tests/routes/embedder/test_embedder_setting.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/tests/routes/embedder/test_embedder_setting.py b/core/tests/routes/embedder/test_embedder_setting.py index e5732d7d..2da6f5cf 100644 --- a/core/tests/routes/embedder/test_embedder_setting.py +++ b/core/tests/routes/embedder/test_embedder_setting.py @@ -20,7 +20,8 @@ def test_get_all_embedder_settings(client): expected_schema = EMBEDDER_SCHEMAS[setting["name"]] assert dumps(jsonable_encoder(expected_schema)) == dumps(setting["schema"]) - assert json["selected_configuration"] == None # no embedder configured at stratup + # automatically selected embedder + assert json["selected_configuration"] == "EmbedderDumbConfig" def test_get_embedder_settings_non_existent(client):