From 4f114f2bb1b9f84dafe6eb280f02c96029e5171c Mon Sep 17 00:00:00 2001 From: Nate Coraor Date: Fri, 17 Mar 2023 16:00:21 -0400 Subject: [PATCH] Fix test for gx-it-proxy version --- tests/test_process_manager.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/test_process_manager.py b/tests/test_process_manager.py index e615f11..cc350fb 100644 --- a/tests/test_process_manager.py +++ b/tests/test_process_manager.py @@ -7,6 +7,7 @@ import pytest from gravity import process_manager from gravity.process_manager.supervisor import supervisor_program_names +from gravity.settings import GX_IT_PROXY_MIN_VERSION from yaml import safe_load @@ -328,7 +329,7 @@ def test_gxit_handler(default_config_manager, galaxy_yml, gxit_config, process_m gxit_port = gxit_config["gravity"]["gx_it_proxy"]["port"] sessions = "database/interactivetools_map.sqlite" gxit_config_contents = gxit_config_path.read_text() - assert f'npx gx-it-proxy --ip localhost --port {gxit_port} --sessions {sessions}' in gxit_config_contents + assert f'npx gx-it-proxy@>={GX_IT_PROXY_MIN_VERSION} --ip localhost --port {gxit_port} --sessions {sessions}' in gxit_config_contents assert '--proxyPathPrefix /interactivetool/access/interactivetoolentrypoint' in gxit_config_contents