Skip to content

Commit 02f35b5

Browse files
committed
Formatting
1 parent b68c82c commit 02f35b5

File tree

4 files changed

+8
-7
lines changed

4 files changed

+8
-7
lines changed

nodestream_plugin_neo4j/result.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ def from_result(
187187
apoc_response.failedOperations
188188
if apoc_response.committedOperations == 0
189189
else 0
190-
)
190+
)
191191

192192
# Set APOC timing if available
193193
if hasattr(apoc_response, "timeTaken"):

poetry.lock

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/unit/test_query.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -264,6 +264,7 @@ def test_unwind_query():
264264
UNWIND_QUERY, equal_to("UNWIND $batched_parameter_sets as params RETURN params")
265265
)
266266

267+
267268
def test_yield_clause_contains_all_fields():
268269
expected_yield = f"YIELD {', '.join(APOC_BATCH_QUERY_RESPONSE_FIELDS)}"
269270
assert_that(YIELD_CLAUSE, equal_to(expected_yield))

tests/unit/test_result.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@
88
CONSTRAINTS_ADDED,
99
CONSTRAINTS_REMOVED,
1010
ERROR_MESSAGES,
11-
OPERATIONS_COMMITTED,
12-
OPERATIONS_MISSING,
1311
INDEXES_ADDED,
1412
INDEXES_REMOVED,
1513
LABELS_ADDED,
1614
LABELS_REMOVED,
1715
NODES_CREATED,
1816
NODES_DELETED,
17+
OPERATIONS_COMMITTED,
18+
OPERATIONS_MISSING,
1919
PLANNING_TIME,
2020
PROCESSING_TIME,
2121
PROPERTIES_SET,

0 commit comments

Comments
 (0)