From 89606b1851fc930cb3971e97d016b506d3fe9acf Mon Sep 17 00:00:00 2001 From: "MoessnerFabian(Group)" Date: Wed, 22 Jan 2025 12:12:17 +0100 Subject: [PATCH] Reformating --- tests/unit/filter/test_lucene_filter.py | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/tests/unit/filter/test_lucene_filter.py b/tests/unit/filter/test_lucene_filter.py index fcf834519..0e95983ab 100644 --- a/tests/unit/filter/test_lucene_filter.py +++ b/tests/unit/filter/test_lucene_filter.py @@ -503,22 +503,16 @@ def test_new_lucene_compliance_parentheses(self): assert lucene_filter == RegExFilterExpression(["regex_key_one"], ".*value.*") - def test_creates_lucene_compliance_filter_parentheses_or_both_regex(self): - lucene_filter = LuceneFilter.create( - 'regex_key_one: (/.*value_one.*/ OR /.*value_two.*/)' - ) + lucene_filter = LuceneFilter.create("regex_key_one: (/.*value_one.*/ OR /.*value_two.*/)") assert lucene_filter == Or( RegExFilterExpression(["regex_key_one"], ".*value_one.*"), RegExFilterExpression(["regex_key_one"], ".*value_two.*"), ) - def test_creates_lucene_compliance_filter_parentheses_or_one_regex(self): - lucene_filter = LuceneFilter.create( - 'regex_key_one: (/.*value_one.*/ OR "/.*value_two.*/")' - ) + lucene_filter = LuceneFilter.create('regex_key_one: (/.*value_one.*/ OR "/.*value_two.*/")') assert lucene_filter == Or( RegExFilterExpression(["regex_key_one"], ".*value_one.*"),