Disable the master password in test mode (for now).

This commit is contained in:
Aditya Toshniwal 2019-05-31 10:19:04 -04:00 committed by Dave Page
parent 26c7d76d4f
commit 91075cc3f5

View File

@ -236,6 +236,7 @@ def create_app(app_name=None):
os.environ['PGADMIN_TESTING_MODE'] == '1'
):
config.SQLITE_PATH = config.TEST_SQLITE_PATH
config.MASTER_PASSWORD_REQUIRED = False
# Ensure the various working directories exist
from pgadmin.setup import create_app_data_directory, db_upgrade