Skip to content

Commit

Permalink
tests: fix validation of compute backends with CWL
Browse files Browse the repository at this point in the history
  • Loading branch information
mdonadoni committed Mar 31, 2022
1 parent 41746c1 commit c9caba7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/test_validate_compute_backends.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,9 @@ def test_validate_compute_backends_cwl(
"""Validate compute backends for CWL workflows."""
reana_yaml = cwl_workflow_spec_loaded
workflow_steps = reana_yaml["workflow"]["specification"]["$graph"]
workflow_steps[0]["steps"][0]["hints"] = [{"compute_backend": compute_backend}]
workflow_steps[0]["steps"][0]["hints"] = [
{"class": "reana", "compute_backend": compute_backend}
]

if valid:
validate_compute_backends(reana_yaml, supported_backends)
Expand Down

0 comments on commit c9caba7

Please sign in to comment.