mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Python 3 fix for the regression tests
This commit is contained in:
committed by
Dave Page
parent
415119d581
commit
b4d4cffc60
@@ -69,7 +69,7 @@ def get_config_data():
|
||||
"""This function reads the server data from config_data"""
|
||||
server_data = []
|
||||
for srv in test_setup.config_data['server_credentials']:
|
||||
if (not srv.has_key('enabled')) or srv['enabled'] == True:
|
||||
if (not 'enabled' in srv) or srv['enabled']:
|
||||
data = {"name": srv['name'],
|
||||
"comment": srv['comment'],
|
||||
"host": srv['host'],
|
||||
|
||||
Reference in New Issue
Block a user