Skip to content

Commit

Permalink
readd a bco.json invocation export API test
Browse files Browse the repository at this point in the history
  • Loading branch information
martenson committed Apr 22, 2024
1 parent af4d402 commit 5fa2617
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions lib/galaxy_test/api/test_workflows.py
Original file line number Diff line number Diff line change
Expand Up @@ -3082,6 +3082,15 @@ def test_workflow_invocation_report_custom(self):
assert "## Workflow Inputs" in markdown_content
assert "## About This Report" in markdown_content

@skip_without_tool("cat1")
def test_export_invocation_bco(self):
with self.dataset_populator.test_history() as history_id:
summary = self._run_workflow(WORKFLOW_SIMPLE, test_data={"input1": "hello world"}, history_id=history_id)
invocation_id = summary.invocation_id
bco = self.workflow_populator.download_invocation_to_store(invocation_id, extension="bco.json")
self.workflow_populator.validate_biocompute_object(bco)
assert bco["provenance_domain"]["name"] == "Simple Workflow"

@skip_without_tool("cat1")
def test_export_invocation_ro_crate(self):
with self.dataset_populator.test_history() as history_id:
Expand Down

0 comments on commit 5fa2617

Please sign in to comment.