Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
Res260 committed Jan 13, 2024
1 parent b77fedb commit ea01041
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions tests/test_collection.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
from pathlib import Path
from uuid import UUID

import pytest

from sigma.collection import SigmaCollection, deep_dict_update
from sigma.correlations import (
SigmaCorrelationCondition,
Expand All @@ -10,15 +12,14 @@
SigmaCorrelationType,
SigmaRuleReference,
)
from sigma.rule import SigmaRule, SigmaLogSource
from sigma.types import SigmaString
from sigma.exceptions import (
SigmaCollectionError,
SigmaModifierError,
SigmaRuleLocation,
SigmaError,
SigmaRuleNotFoundError,
)
from sigma.rule import SigmaRule, SigmaLogSource


def test_single_rule():
Expand Down Expand Up @@ -384,7 +385,7 @@ def test_get_output_rules(rules_with_correlation):


def test_get_unreferenced_rules(rules_with_correlation):
output_rules = list(rules_with_correlation.get_unrefereced_rules())
output_rules = list(rules_with_correlation.get_unreferenced_rules())
assert len(output_rules) == 1
assert isinstance(output_rules[0], SigmaCorrelationRule)

Expand Down

0 comments on commit ea01041

Please sign in to comment.