()
| 605 | |
| 606 | |
| 607 | def test_linematcher_no_matching_after_match() -> None: |
| 608 | lm = LineMatcher(["1", "2", "3"]) |
| 609 | lm.fnmatch_lines(["1", "3"]) |
| 610 | with pytest.raises(pytest.fail.Exception) as e: |
| 611 | lm.no_fnmatch_line("*") |
| 612 | assert str(e.value).splitlines() == ["fnmatch: '*'", " with: '1'"] |
| 613 | |
| 614 | |
| 615 | def test_linematcher_string_api() -> None: |
nothing calls this directly
no test coverage detected