diff options
| author | LV-426 <lv-426@taproot.org.il> | 2015-01-18 22:20:46 +0200 |
|---|---|---|
| committer | LV-426 <lv-426@taproot.org.il> | 2015-01-18 22:20:46 +0200 |
| commit | 3482a90a7b8f0443711991fb5aa866085f586678 (patch) | |
| tree | 8f2403212b1ba390057bd85cb14217acf5066cd9 /src/server-tests/test_db_controller.py | |
| parent | 989e09da7abd703a9209da130a92b6fbbb6e381e (diff) | |
flush_db: dedicated DBO class, cleanup
Diffstat (limited to 'src/server-tests/test_db_controller.py')
| -rw-r--r-- | src/server-tests/test_db_controller.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/server-tests/test_db_controller.py b/src/server-tests/test_db_controller.py index 987abedb..d07bd2cc 100644 --- a/src/server-tests/test_db_controller.py +++ b/src/server-tests/test_db_controller.py @@ -19,8 +19,7 @@ from db_op import DBO_rz_clone from model.graph import Attr_Diff from model.graph import Topo_Diff from model.model import Link -from neo4j_test_util import DBO_random_data_generation -from neo4j_test_util import flush_db +from neo4j_test_util import DBO_random_data_generation, DBO_flush_db import neo4j_test_util from neo4j_util import Neo4JException, DB_Query from neo4j_util import meta_attr_list_to_meta_attr_map @@ -55,7 +54,10 @@ class TestDBController(unittest.TestCase): self.log.addHandler(logging.StreamHandler()) def setUp(self): - # flush_db(self.db_ctl) # remove once embedded DB test mode is supported + # flush_DB + # op = DBO_flush_db() + # self.db_ctl.exec_op(op) + # self.db_ctl.exec_op(DBO_add_node_set(self.n_map)) # self.db_ctl.exec_op(DBO_add_link_set(self.l_map)) pass |
