Skip to content

Commit

Permalink
Rebase into workflow test framework.
Browse files Browse the repository at this point in the history
  • Loading branch information
jmchilton committed Jul 13, 2024
1 parent 40fd996 commit b23919d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion lib/galaxy/tool_util/verify/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -603,7 +603,7 @@ def verify_file_path_against_dict(
) -> None:
with open(path, "rb") as f:
output_content = f.read()
item_label = "Output with path %s" % path
item_label = f"Output with path {path}"
verify_file_contents_against_dict(
get_filename, get_location, item_label, output_content, test_properties, test_data_target_dir
)
Expand Down
6 changes: 2 additions & 4 deletions lib/galaxy_test/workflow/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,7 @@
from gxformat2.yaml import ordered_load

from galaxy.tool_util.parser.interface import TestCollectionOutputDef
from galaxy.tool_util.verify import (
verify,
verify_file_contents_against_dict,
)
from galaxy.tool_util.verify import verify_file_contents_against_dict
from galaxy.tool_util.verify.interactor import (
compare_expected_metadata_to_api_response,
get_metadata_to_test,
Expand Down Expand Up @@ -62,6 +59,7 @@ def test_workflow(self, workflow_path: Path, test_job):
run_summary = self.workflow_populator.run_workflow(
yaml_content,
test_data=test_job["job"],
history_id=history_id,
)
self._verify(run_summary, test_job["outputs"])

Expand Down

0 comments on commit b23919d

Please sign in to comment.