Skip to content

Commit f8b9d8b

Browse files
committed
Removing redundant tests, focusing on dataclass parse functionality.
1 parent 3511c09 commit f8b9d8b

File tree

1 file changed

+1
-13
lines changed

1 file changed

+1
-13
lines changed

tests/unit/test_query.py

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -288,16 +288,4 @@ def test_yield_clause_contains_all_fields():
288288

289289
def test_return_clause_contains_all_fields():
290290
expected_return = f"RETURN {', '.join(APOC_BATCH_QUERY_RESPONSE_FIELDS)}"
291-
assert_that(RETURN_CLAUSE, equal_to(expected_return))
292-
293-
294-
def test_commit_query_structure():
295-
assert_that("CALL apoc.periodic.iterate" in COMMIT_QUERY, equal_to(True))
296-
assert_that("YIELD" in COMMIT_QUERY, equal_to(True))
297-
assert_that("RETURN" in COMMIT_QUERY, equal_to(True))
298-
299-
300-
def test_non_apoc_commit_query_structure():
301-
assert_that("UNWIND" in NON_APOC_COMMIT_QUERY, equal_to(True))
302-
assert_that("CALL apoc.cypher.doIt" in NON_APOC_COMMIT_QUERY, equal_to(True))
303-
assert_that("RETURN" in NON_APOC_COMMIT_QUERY, equal_to(True))
291+
assert_that(RETURN_CLAUSE, equal_to(expected_return))

0 commit comments

Comments
 (0)