summaryrefslogtreecommitdiff
path: root/src-py/test_db_controller.py
diff options
context:
space:
mode:
Diffstat (limited to 'src-py/test_db_controller.py')
-rw-r--r--src-py/test_db_controller.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src-py/test_db_controller.py b/src-py/test_db_controller.py
index 502768a3..4af4cabc 100644
--- a/src-py/test_db_controller.py
+++ b/src-py/test_db_controller.py
@@ -167,7 +167,7 @@ class TestDBController(unittest.TestCase):
op.add_statement("non-valid statement #1", {})
op.add_statement("non-valid statement #2", {})
- self.db_ctl.exec_op(op)
+ self.assertRaises(Neo4JException, self.db_ctl.exec_op, op)
self.assertEqual(len(op.result_set), 2)
self.assertEqual(len(op.error_set), 1)