Skip to content

Commit 1a47f93

Browse files
committed
formatting
1 parent 50d84eb commit 1a47f93

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

tests/test_redis_queries.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -278,9 +278,9 @@ def test_between_and_greater_than(
278278
row_dict = dict(zip(row[::2], row[1::2]))
279279
if "price" in row_dict:
280280
price = float(row_dict["price"])
281-
assert 100 <= price <= 500, (
282-
f"Price {price} should be between 100 and 500"
283-
)
281+
assert (
282+
100 <= price <= 500
283+
), f"Price {price} should be between 100 and 500"
284284

285285

286286
class TestTagFieldMultiValueSearch:

tests/test_sql_queries.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -248,9 +248,9 @@ def test_in_clause_with_or(self, executor: Executor, products_data: str):
248248
WHERE tags IN ('sale', 'featured') OR category = 'electronics'
249249
"""
250250
)
251-
assert len(result.rows) >= 1, (
252-
"Should return products matching tag OR conditions"
253-
)
251+
assert (
252+
len(result.rows) >= 1
253+
), "Should return products matching tag OR conditions"
254254

255255
def test_tag_in_clause_only(self, executor: Executor, products_data: str):
256256
"""IN clause on TAG field without OR."""

0 commit comments

Comments
 (0)