style: format test files with ruff

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Tal Muskal
2026-04-08 21:08:49 +03:00
parent 65ac8ad977
commit 9ca70264f3
6 changed files with 146 additions and 119 deletions
+2
View File
@@ -97,6 +97,7 @@ def test_spellcheck_user_text_passthrough_no_autocorrect():
def test_spellcheck_user_text_with_speller():
"""When a speller is available, it corrects words."""
def fake_speller(word):
corrections = {"knoe": "know", "befor": "before"}
return corrections.get(word, word)
@@ -111,6 +112,7 @@ def test_spellcheck_user_text_with_speller():
def test_spellcheck_preserves_technical_terms():
"""Technical terms should never be touched even with a speller."""
def fake_speller(word):
return "WRONG"