mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Introduce a test config database for the regression tests, and track/remove objects that are created during testing.
This commit is contained in:
committed by
Dave Page
parent
3807ba047b
commit
d3d8836f61
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user