From f342266bc48ab59f92d84d357c2f1476fa926e46 Mon Sep 17 00:00:00 2001 From: Edern Deneuville Date: Thu, 17 Sep 2026 19:51:22 +0200 Subject: [PATCH] revert 24ee8e448c8ad1911f074cdeaf660c03e13aac55 revert Update config tests for plain and unicode modes --- tests/test_config.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/test_config.py b/tests/test_config.py index 3b40063..58dfb01 100644 --- a/tests/test_config.py +++ b/tests/test_config.py @@ -17,13 +17,13 @@ def test_load_default_config(tmp_path): assert "Réponds directement" in cfg.system_prompt -def test_accept_unicode_format(tmp_path): +def test_accept_word_equation_format(tmp_path): path = tmp_path / "config.json" - path.write_text(json.dumps({"provider": "ollama", "math_text_format": "unicode"}), encoding="utf-8") + path.write_text(json.dumps({"provider": "ollama", "math_text_format": "word_equation"}), encoding="utf-8") cfg = load_config(path) - assert cfg.math_text_format == "unicode" + assert cfg.math_text_format == "word_equation" def test_timeout_zero_disables_timeout(tmp_path):