Introduce a test config database for the regression tests, and track/remove objects that are created during testing.

This commit is contained in:
Navnath Gadakh
2016-09-14 16:26:12 +01:00
committed by Dave Page
parent 3807ba047b
commit d3d8836f61
18 changed files with 648 additions and 654 deletions

View File

@@ -10,13 +10,9 @@
import json
import os
CURRENT_PATH = os.path.dirname(os.path.realpath(__file__))
# with open(CURRENT_PATH + '/test_config.json') as data_file:
# config_data = json.load(data_file)
#
# with open(CURRENT_PATH + '/test_advanced_config.json') as data_file:
# advanced_config_data = json.load(data_file)
try:
with open(CURRENT_PATH + '/test_config.json') as data_file:
@@ -31,5 +27,3 @@ try:
except:
with open(CURRENT_PATH + '/test_advanced_config.json.in') as data_file:
advanced_config_data = json.load(data_file)
pickle_path = os.path.join(CURRENT_PATH, 'parent_id.pkl')