Skip to content

Commit 0038653

Browse files
Caozhou1995caozhou
andauthored
[Test] Fix tests bug (#16)
This PR fixes the bug of debug_discipline_guard. Co-authored-by: caozhou <caozhou@baai.ac.cn>
1 parent c7d0895 commit 0038653

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/test_debug_discipline_guard.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def test_failure_then_second_edit_blocked(self):
5656
result = g.check_pre(ctx2)
5757
assert result is not None
5858
assert result.action == "inject_msg"
59-
assert "HYPOTHESIS" in result.message
59+
assert "hypothesis" in result.message.lower()
6060

6161
def test_non_py_files_not_blocked(self):
6262
"""Edits to non-.py files are never blocked."""

0 commit comments

Comments
 (0)