Reorder test dependencies

This commit is contained in:
mvdbeek
2026-03-13 14:06:18 +01:00
parent 9c7025aacd
commit fddbd36aaf
4 changed files with 12 additions and 3 deletions
+6 -1
View File
@@ -171,7 +171,12 @@ class MockHttpServer:
path = f"/mock/{self._counter}/{filename}" if filename else f"/mock/{self._counter}"
if file_path is not None:
encoded_body = Path(file_path).read_bytes()
file_path_obj = Path(file_path)
if not file_path_obj.is_absolute():
# Resolve relative paths from the Galaxy project root
galaxy_root = Path(__file__).resolve().parents[3]
file_path_obj = galaxy_root / file_path_obj
encoded_body = file_path_obj.read_bytes()
elif isinstance(body, str):
encoded_body = body.encode()
else:
+1
View File
@@ -85,6 +85,7 @@ python_requires = >=3.10
[options.extras_require]
test =
galaxy-test-base
mock-ssh-server
pkce
pykwalify
+1
View File
@@ -42,6 +42,7 @@ python_requires = >=3.10
[options.extras_require]
test =
galaxy-test-base
pytest
gcsfs
s3fs>=2023.1.0
+4 -2
View File
@@ -2,7 +2,6 @@ tool_util_models
util
config
files
job_metrics
navigation
objectstore
@@ -10,10 +9,13 @@ schema
tool_shed_schema
tool_util
test_base
files
data
selenium
tours
test_base
auth
job_execution