Skip to content

Commit b3158b6

Browse files
committed
Ruff
1 parent 73bfec6 commit b3158b6

File tree

1 file changed

+1
-31
lines changed

1 file changed

+1
-31
lines changed

tests/unit/test_query.py

Lines changed: 1 addition & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -259,36 +259,6 @@ def test_query_batch_as_query_with_custom_parameters():
259259
)
260260

261261

262-
def test_apoc_batch_query_response_fields():
263-
expected_fields = [
264-
"batches",
265-
"total",
266-
"timeTaken",
267-
"committedOperations",
268-
"failedOperations",
269-
"failedBatches",
270-
"retries",
271-
"errorMessages",
272-
"wasTerminated",
273-
"updateStatistics",
274-
]
275-
assert_that(
276-
APOC_BATCH_QUERY_RESPONSE_FIELDS,
277-
contains_inanyorder(
278-
"batches",
279-
"total",
280-
"timeTaken",
281-
"committedOperations",
282-
"failedOperations",
283-
"failedBatches",
284-
"retries",
285-
"errorMessages",
286-
"wasTerminated",
287-
"updateStatistics",
288-
),
289-
)
290-
291-
292262
def test_unwind_query():
293263
assert_that(
294264
UNWIND_QUERY, equal_to("UNWIND $batched_parameter_sets as params RETURN params")
@@ -302,4 +272,4 @@ def test_yield_clause_contains_all_fields():
302272

303273
def test_return_clause_contains_all_fields():
304274
expected_return = f"RETURN {', '.join(APOC_BATCH_QUERY_RESPONSE_FIELDS)}"
305-
assert_that(RETURN_CLAUSE, equal_to(expected_return))
275+
assert_that(RETURN_CLAUSE, equal_to(expected_return))

0 commit comments

Comments
 (0)