Skip to content

Commit

Permalink
Fixed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
thomaspatzke committed Nov 14, 2023
1 parent d963c5f commit 98b3bff
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions tests/files/valid/sigma_rule.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
title: Test rule
id: 5013332f-8a70-4e04-bcc1-06a98a2cca2e
status: stable
level: high
logsource:
category: process_creation
Expand Down
4 changes: 2 additions & 2 deletions tests/test_check.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def test_check_with_issues():
cli = CliRunner()
result = cli.invoke(check, ["tests/files/issues"])
assert result.exit_code == 0
assert "4 issues" in result.stdout
assert "11 issues" in result.stdout


def test_check_with_issues_exclusions():
Expand All @@ -56,7 +56,7 @@ def test_check_with_issues_exclusions():
],
)
assert result.exit_code == 0
assert "2 issues" in result.stdout
assert "9 issues" in result.stdout


def test_check_fail_on_issues():
Expand Down

0 comments on commit 98b3bff

Please sign in to comment.