Merge pull request #11313 from bernt-matthias/topic/collections-multiple-tests

consider collections in all tests
This commit is contained in:
Marius van den Beek
2021-02-08 11:13:58 +01:00
committed by GitHub
+1 -1
View File
@@ -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 = 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)