diff options
| author | LV-426 <lv-426@taproot.org.il> | 2014-10-06 16:04:15 +0300 |
|---|---|---|
| committer | LV-426 <lv-426@taproot.org.il> | 2014-10-06 16:04:15 +0300 |
| commit | 8033e138410d3440ef0e76ed2baae515d4ec989f (patch) | |
| tree | 56ba4b0bcc3d4bd64c0d6e72f8ad295d3d11baaf /src-py | |
| parent | c52c99169826846bc73d53b189c753507e91a4c9 (diff) | |
migrate towards testing via embedded DB, remove DB initialization
Diffstat (limited to 'src-py')
| -rw-r--r-- | src-py/test_db_controller.py | 7 |
1 files changed, 0 insertions, 7 deletions
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] } |
