Disable upgrade checks whilst testing.

pull/24/head
Dave Page 2019-06-03 11:35:59 -04:00
parent 912db8913f
commit 13704a4f34
1 changed files with 1 additions and 0 deletions

View File

@ -237,6 +237,7 @@ def create_app(app_name=None):
):
config.SQLITE_PATH = config.TEST_SQLITE_PATH
config.MASTER_PASSWORD_REQUIRED = False
config.UPGRADE_CHECK_ENABLED = False
# Ensure the various working directories exist
from pgadmin.setup import create_app_data_directory, db_upgrade