mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Update regression tests to resolve issues where database/connections were getting mixed up.
This commit is contained in:
committed by
Dave Page
parent
f117685d77
commit
1cb5a7c7ca
@@ -13,17 +13,9 @@ import os
|
||||
|
||||
CURRENT_PATH = os.path.dirname(os.path.realpath(__file__))
|
||||
|
||||
|
||||
try:
|
||||
with open(CURRENT_PATH + '/test_config.json') as data_file:
|
||||
config_data = json.load(data_file)
|
||||
except:
|
||||
except Exception as exception:
|
||||
with open(CURRENT_PATH + '/test_config.json.in') as data_file:
|
||||
config_data = json.load(data_file)
|
||||
|
||||
try:
|
||||
with open(CURRENT_PATH + '/test_advanced_config.json') as data_file:
|
||||
advanced_config_data = json.load(data_file)
|
||||
except:
|
||||
with open(CURRENT_PATH + '/test_advanced_config.json.in') as data_file:
|
||||
advanced_config_data = json.load(data_file)
|
||||
|
||||
Reference in New Issue
Block a user