Skip to content

Commit

Permalink
style
Browse files Browse the repository at this point in the history
  • Loading branch information
babenek committed Jan 17, 2025
1 parent 28b6d17 commit 82426a0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/rules/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ def test_scan_p(self, file_path: pytest.fixture, lines: pytest.fixture,
scan_result = scanner_without_filters.scan(provider)
assert len(scan_result) == 1

@pytest.mark.parametrize("lines", [[""], ["String secret = new String('p*****');"], ["SZa6TWGF2XuWdl7c2s2xB1iSlnZJLbvH"]])
@pytest.mark.parametrize("lines",
[[""], ["String secret = new String('p****');"], ["SZa6TWGF2XuWdl7c2s2xB1iSlnZJLbvH"]])
def test_scan_n(self, file_path: pytest.fixture, lines: List[str], scanner: pytest.fixture) -> None:
provider = StringContentProvider(lines, file_path=file_path)
scan_result = scanner.scan(provider)
Expand Down

0 comments on commit 82426a0

Please sign in to comment.