From 8033e138410d3440ef0e76ed2baae515d4ec989f Mon Sep 17 00:00:00 2001 From: LV-426 Date: Mon, 6 Oct 2014 16:04:15 +0300 Subject: migrate towards testing via embedded DB, remove DB initialization --- src-py/test_db_controller.py | 7 ------- 1 file changed, 7 deletions(-) (limited to 'src-py') diff --git a/src-py/test_db_controller.py b/src-py/test_db_controller.py index f770905e..65f0231f 100644 --- a/src-py/test_db_controller.py +++ b/src-py/test_db_controller.py @@ -26,15 +26,8 @@ class TestDBController(unittest.TestCase): self.db_ctl = dbc.DB_Controller(cfg) 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 (n) optional match (n)-[r]-() delete n,r') - def test_load_node_set_by_attribute(self): filter_map = { 'name': ['Bob', 'Judo'], 'age': [128] } -- cgit v1.3.1