Skip to content

Commit

Permalink
Fixup tests as the Exception class was changed in pySigma.
Browse files Browse the repository at this point in the history
  • Loading branch information
svnscha committed Jan 22, 2024
1 parent e988d3c commit 2443351
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_pipelines_uberAgent.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import pytest
from sigma.collection import SigmaCollection
from sigma.exceptions import SigmaLevelError, SigmaTransformationError
from sigma.exceptions import SigmaLevelError, SigmaTransformationError, SigmaTitleError

from sigma.backends.uberagent import uberagent
from sigma.backends.uberagent.exceptions import MissingPropertyException, MissingFunctionException
Expand Down Expand Up @@ -87,7 +87,7 @@ def test_rule_requires_id():


def test_rule_requires_title():
with pytest.raises(MissingPropertyException):
with pytest.raises(SigmaTitleError):
uberagent(processing_pipeline=uberagent_pipeline()).convert(
SigmaCollection.from_yaml("""
id: 01234567-1234-5678-1234-567890123456
Expand Down

0 comments on commit 2443351

Please sign in to comment.