From 24ee8e448c8ad1911f074cdeaf660c03e13aac55 Mon Sep 17 00:00:00 2001 From: Edern Deneuville Date: Sat, 12 Sep 2026 12:20:13 +0200 Subject: [PATCH] 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 58dfb01..3b40063 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_word_equation_format(tmp_path): +def test_accept_unicode_format(tmp_path): path = tmp_path / "config.json" - path.write_text(json.dumps({"provider": "ollama", "math_text_format": "word_equation"}), encoding="utf-8") + path.write_text(json.dumps({"provider": "ollama", "math_text_format": "unicode"}), encoding="utf-8") cfg = load_config(path) - assert cfg.math_text_format == "word_equation" + assert cfg.math_text_format == "unicode" def test_timeout_zero_disables_timeout(tmp_path):