From d83b1c2eb1b3225642770fa0f46dbac312f48c87 Mon Sep 17 00:00:00 2001 From: Matthias Bernt Date: Sun, 7 Feb 2021 17:54:38 +0100 Subject: [PATCH] Apply suggestion from code review Co-authored-by: Marius van den Beek --- lib/galaxy/tool_util/verify/interactor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/galaxy/tool_util/verify/interactor.py b/lib/galaxy/tool_util/verify/interactor.py index 4be21602e09..d056de058b2 100644 --- a/lib/galaxy/tool_util/verify/interactor.py +++ b/lib/galaxy/tool_util/verify/interactor.py @@ -1290,7 +1290,7 @@ class ToolTestDescription: self.error = processed_test_dict.get("error", False) self.exception = processed_test_dict.get("exception", None) - self.output_collections = list(map(TestCollectionOutputDef.from_dict, processed_test_dict.get("output_collections", []))) + self.output_collections = [TestCollectionOutputDef.from_dict(d) for d in processed_test_dict.get("output_collections", [])] self.command_line = processed_test_dict.get("command_line", None) self.command_version = processed_test_dict.get("command_version", None) self.stdout = processed_test_dict.get("stdout", None)