From 80e108aa55eefe976b324f9a3f62de569d3fe0d3 Mon Sep 17 00:00:00 2001 From: Dave Page Date: Thu, 30 Jun 2016 09:46:46 +0100 Subject: [PATCH] Fix regression test harness to allow for removal of the schema version from config.py --- web/regression/testsuite.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/web/regression/testsuite.py b/web/regression/testsuite.py index 6e6fb0cbf..75d437b53 100644 --- a/web/regression/testsuite.py +++ b/web/regression/testsuite.py @@ -25,6 +25,12 @@ if sys.path[0] != root: sys.path.insert(0, root) from pgadmin import create_app +import config + +# Get the config database schema version. We store this in pgadmin.model +# as it turns out that putting it in the config files isn't a great idea +from pgadmin.model import SCHEMA_VERSION +config.SETTINGS_SCHEMA_VERSION = SCHEMA_VERSION # Create the app! app = create_app()