Skip to content

Commit b3ef9ae

Browse files
committed
assert DEBUG_MODE is false in pytest
1 parent 8db7ba8 commit b3ef9ae

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

‎tests/test_major_functionality.py‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,4 +57,8 @@ def test_spellcheck_en_gb():
5757

5858
# Correct a sentence without spell-checking
5959
tool.disable_spellchecking()
60-
assert tool.correct(s) == "Wat is wrong with the spll chker"
60+
assert tool.correct(s) == "Wat is wrong with the spll chker"
61+
62+
def test_debug_mode():
63+
from language_tool_python.server import DEBUG_MODE
64+
assert DEBUG_MODE is False

0 commit comments

Comments
 (0)