From 8fdecbb3bf5c6ba02393531117c3e2160e5ea22b Mon Sep 17 00:00:00 2001 From: John Chilton Date: Mon, 28 Mar 2016 18:33:45 -0400 Subject: [PATCH] Another simplifcation to method structure in scripts/functional_tests.py. --- scripts/functional_tests.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/scripts/functional_tests.py b/scripts/functional_tests.py index fac4e0167dd..7405fd88749 100644 --- a/scripts/functional_tests.py +++ b/scripts/functional_tests.py @@ -44,6 +44,9 @@ def main(): galaxy_test_tmp_dir = driver_util.get_galaxy_test_tmp_dir() + app = None + server_wrapper = None + if start_server: tempdir = tempfile.mkdtemp( dir=galaxy_test_tmp_dir ) # Configure the database path. @@ -56,10 +59,6 @@ def main(): datatypes_conf=datatypes_conf_override, ) - app = None - server_wrapper = None - - if start_server: # ---- Build Application -------------------------------------------------- app = driver_util.build_galaxy_app(galaxy_config) server_wrapper = driver_util.launch_server(