Skip to content

Commit

Permalink
Skip explicit type annotation
Browse files Browse the repository at this point in the history
Co-authored-by: Nicola Soranzo <[email protected]>
  • Loading branch information
mvdbeek and nsoranzo authored Nov 8, 2024
1 parent 4abc6e6 commit d1a7734
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions lib/galaxy_test/api/test_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -2437,9 +2437,11 @@ def test_group_tag_selection_multiple(self, history_id):
assert output_content.strip() == "123\n456\n456\n0ab"

def _run_deferred(self, history_id: str, use_cached_job=False, expect_cached_job=False, include_correct_hash=True):
hashes: Optional[List[Dict[str, str]]] = None
if include_correct_hash:
hashes = [{"hash_function": "SHA-1", "hash_value": "2d7dcdb10964872752bd6d081725792b3f729ac9"}]
hashes = (
[{"hash_function": "SHA-1", "hash_value": "2d7dcdb10964872752bd6d081725792b3f729ac9"}]
if include_correct_hash
else None
)
details = self.dataset_populator.create_deferred_hda(
history_id,
"https://raw.githubusercontent.com/galaxyproject/galaxy/dev/test-data/1.bed",
Expand Down

0 comments on commit d1a7734

Please sign in to comment.