Skip to content

Commit 5832294

Browse files
committed
Docs
1 parent bab385d commit 5832294

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/unit_tests.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,8 +175,13 @@ def test_breakpoint_identification():
175175
for test_case in test_cases:
176176
with open(test_case["file"], "r") as case_file:
177177
split_blocks, violations = _identify_break_points(case_file.read())
178+
179+
# Ensure the expected blocks are returned
180+
# and that the correct number is returned
178181
assert split_blocks == test_case["expected_blocks"]
179182
assert len(violations) == len(test_case["expected_violations"])
183+
184+
# Ensure the expected error are detected
180185
for vio, exp_vio in zip(violations, test_case["expected_violations"]):
181186
assert vio.level == exp_vio["level"]
182187
assert vio.rule == exp_vio["rule"]

0 commit comments

Comments
 (0)