Skip to content

Commit d1a7734

Browse files
mvdbeeknsoranzo
andauthored
Skip explicit type annotation
Co-authored-by: Nicola Soranzo <[email protected]>
1 parent 4abc6e6 commit d1a7734

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

lib/galaxy_test/api/test_tools.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2437,9 +2437,11 @@ def test_group_tag_selection_multiple(self, history_id):
24372437
assert output_content.strip() == "123\n456\n456\n0ab"
24382438

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

0 commit comments

Comments
 (0)