Skip to content

Commit

Permalink
fix mypy fail: type "Optional[Any]" is not indexable
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmedhamidawan committed Jun 18, 2024
1 parent bcdd668 commit 7ebc280
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/galaxy_test/api/test_workflows.py
Original file line number Diff line number Diff line change
Expand Up @@ -5015,6 +5015,7 @@ def test_run_with_int_parameter(self):
parameter_step = next(
(step for step in invocation["steps"] if step.get("workflow_step_label") == "int_input"), None
)
assert parameter_step
parameter_step_id = parameter_step["workflow_step_id"]
assert invocation["input_step_parameters"][parameter_step_id]["parameter_value"] == 1

Expand Down

0 comments on commit 7ebc280

Please sign in to comment.