From 09e59d10d8ebcbc10e04daca8f9ae9d7acd02f7c Mon Sep 17 00:00:00 2001 From: "Daniel W. Anner" Date: Mon, 23 Oct 2023 16:34:23 -0400 Subject: [PATCH] fixing rename file (#1710) --- tests/definitions_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/definitions_test.py b/tests/definitions_test.py index 4c2ef7402a..00144e21f9 100644 --- a/tests/definitions_test.py +++ b/tests/definitions_test.py @@ -67,7 +67,7 @@ def _get_diff_from_upstream(): if file.change_type in CHANGE_TYPE_LIST: # If the file is renamed, ensure we are picking the right schema if 'R' in file.change_type and path in file.rename_to: - file_list.append((file.rename_from, schema, file.change_type)) + file_list.append((file.rename_to, schema, file.change_type)) elif path in file.a_path: file_list.append((file.a_path, schema, file.change_type)) elif path in file.b_path: