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