mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-10-30 18:13:23 +08:00
Reorder test dependencies
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -85,6 +85,7 @@ python_requires = >=3.10
|
||||
|
||||
[options.extras_require]
|
||||
test =
|
||||
galaxy-test-base
|
||||
mock-ssh-server
|
||||
pkce
|
||||
pykwalify
|
||||
|
||||
@@ -42,6 +42,7 @@ python_requires = >=3.10
|
||||
|
||||
[options.extras_require]
|
||||
test =
|
||||
galaxy-test-base
|
||||
pytest
|
||||
gcsfs
|
||||
s3fs>=2023.1.0
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user