diff options
Diffstat (limited to 'src-py')
| -rw-r--r-- | src-py/test_db_controller.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src-py/test_db_controller.py b/src-py/test_db_controller.py index 83818ee3..3c8f4aff 100644 --- a/src-py/test_db_controller.py +++ b/src-py/test_db_controller.py @@ -27,13 +27,14 @@ class TestDBController(unittest.TestCase): def setUp(self): self.flush_db() + self.db_ctl.exec_op(dbc.DBO_add_node_set(self.n_map)) def flush_db(self): """ complete DB flush: remove all nodes & links """ - self.db_ctl.exec_cypher_query('match ()-[r]-() delete r') - self.db_ctl.exec_cypher_query('match (n) delete n') + self.db_ctl.exec_cypher_query('match (n) optional match (n)-[r]-() delete n,r') + def test_node_DB_id_lifecycle(self): """ |
