Skip to content

Commit

Permalink
Fix test for gx-it-proxy version
Browse files Browse the repository at this point in the history
  • Loading branch information
natefoo committed Mar 17, 2023
1 parent 54965cd commit 4f114f2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test_process_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down Expand Up @@ -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


Expand Down

0 comments on commit 4f114f2

Please sign in to comment.