From 6af1bd34768e4a01ca82727332e068c41d060c68 Mon Sep 17 00:00:00 2001 From: noopur Date: Wed, 11 Dec 2024 13:00:06 +0000 Subject: [PATCH] Update cols.yaml from scratch Signed-off-by: noopur --- tests/end_to_end/models/model_owner.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/end_to_end/models/model_owner.py b/tests/end_to_end/models/model_owner.py index e50b401f3d..19bb133d15 100644 --- a/tests/end_to_end/models/model_owner.py +++ b/tests/end_to_end/models/model_owner.py @@ -233,8 +233,7 @@ def register_collaborators(self, plan_path, num_collaborators=None): with open(cols_file, "r", encoding="utf-8") as f: doc = yaml.load(f, Loader=yaml.FullLoader) - if "collaborators" not in doc.keys() or not doc["collaborators"]: - doc["collaborators"] = [] # Create empty list + doc["collaborators"] = [] # Create empty list for i in range(num_collaborators): col_name = "collaborator" + str(i+1)