From f738040bd497d9a4ae4161e3ccc4896175e392a3 Mon Sep 17 00:00:00 2001 From: Ben Selwyn-Smith Date: Tue, 7 Nov 2023 09:06:34 +1000 Subject: [PATCH] chore: revert .git handling in e2e comparison Signed-off-by: Ben Selwyn-Smith --- tests/e2e/compare_e2e_result.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/tests/e2e/compare_e2e_result.py b/tests/e2e/compare_e2e_result.py index a7c2aa9bf..7500e300d 100755 --- a/tests/e2e/compare_e2e_result.py +++ b/tests/e2e/compare_e2e_result.py @@ -93,13 +93,6 @@ def compare_target_info(result: dict, expected: dict) -> int: for key, exp_item in expected.items(): result_item = result.get(key) - if key == "remote_path": - # Do not report differences that amount to only a trailing ".git" - if str(exp_item).endswith(".git"): - exp_item = str(exp_item).removesuffix(".git") - if str(result_item).endswith(".git"): - result_item = str(result_item).removesuffix(".git") - if exp_item != result_item: logger.error( "Compare failed at field %s. EXPECT %s, GOT %s",