Skip to content

Commit

Permalink
test(write_exclude_list): add test for write_exclude_list config option
Browse files Browse the repository at this point in the history
  • Loading branch information
frq-asgard-josi committed Nov 4, 2024
1 parent 8a3fe3d commit b0e39fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test_transformer.py
Original file line number Diff line number Diff line change
Expand Up @@ -335,9 +335,9 @@ def test_write_exclude_list(

for match in matches:
if match.rule.id in expected or expected == set("all"):
match.rule.transform.assert_called() # type: ignore
match.rule.transform.assert_called() # type: ignore[attr-defined]
else:
match.rule.transform.assert_not_called() # type: ignore
match.rule.transform.assert_not_called() # type: ignore[attr-defined]


def test_pruned_err_after_fix(monkeypatch: pytest.MonkeyPatch, tmpdir: Path) -> None:
Expand Down

0 comments on commit b0e39fd

Please sign in to comment.