From 7b527f51bae46fc213acb098a57d182eab6b00c3 Mon Sep 17 00:00:00 2001 From: "Daniel W. Anner" Date: Thu, 20 Jul 2023 11:03:34 -0400 Subject: [PATCH] Update definitions_test.py Fixed mistake - left testing code in --- tests/definitions_test.py | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/tests/definitions_test.py b/tests/definitions_test.py index 2f817b891..660ada2fa 100644 --- a/tests/definitions_test.py +++ b/tests/definitions_test.py @@ -61,13 +61,12 @@ def _get_diff_from_upstream(): for file in changes: if file.change_type in CHANGE_TYPE_LIST: - if 'DCS-7280CR3-32P4.yaml' in file.a_path or 'DCS-7280CR3-32P4.yaml' in file.b_path: - if 'R' in file.change_type: - file_list.append((file.rename_to, schema)) - elif path in file.a_path: - file_list.append((file.a_path, schema)) - elif path in file.b_path: - file_list.append((file.b_path, schema)) + if 'R' in file.change_type: + file_list.append((file.rename_to, schema)) + elif path in file.a_path: + file_list.append((file.a_path, schema)) + elif path in file.b_path: + file_list.append((file.b_path, schema)) return file_list