Skip to content

Commit

Permalink
Fixed test
Browse files Browse the repository at this point in the history
  • Loading branch information
thomaspatzke committed Aug 5, 2023
1 parent b4a4757 commit 32100c3
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions tests/test_conversion_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -2142,12 +2142,7 @@ def test_convert_list_cidr_wildcard_asterisk(test_backend, monkeypatch):
)


def test_convert_state():
test_backend = TextQueryTestBackend(
ProcessingPipeline(
finalizers=[ConcatenateQueriesFinalizer(prefix="index=test (", suffix=")")]
)
)
def test_convert_state(test_backend):
assert (
test_backend.convert(
SigmaCollection.from_yaml(
Expand All @@ -2165,7 +2160,7 @@ def test_convert_state():
),
"state",
)
== 'index=test (mappedA="value")'
== ['index=test (mappedA="value")']
)


Expand Down

0 comments on commit 32100c3

Please sign in to comment.