We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c5d6cac commit 19f0970Copy full SHA for 19f0970
test/session_test.py
@@ -65,6 +65,24 @@ def test_can_run_simple_statement(self):
65
session.close()
66
assert count == 1
67
68
+ def test_fails_on_bad_syntax(self):
69
+ session = GraphDatabase.driver("bolt://localhost").session()
70
+ try:
71
+ session.run("X").consume()
72
+ except CypherError:
73
+ assert True
74
+ else:
75
+ assert False
76
+
77
+ def test_fails_on_missing_parameter(self):
78
79
80
+ session.run("RETURN {x}").consume()
81
82
83
84
85
86
def test_can_run_simple_statement_from_bytes_string(self):
87
session = GraphDatabase.driver("bolt://localhost").session()
88
count = 0
0 commit comments