From 5be55b1b33f5584942ded560e914b97557f68419 Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Tue, 24 Jan 2023 11:33:01 +0300 Subject: mechanical-rob: eliminate extraneous spaces before comparisons --- test/requests/correlation_tests.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'test/requests') diff --git a/test/requests/correlation_tests.py b/test/requests/correlation_tests.py index 53e09243..aa8c7fbe 100644 --- a/test/requests/correlation_tests.py +++ b/test/requests/correlation_tests.py @@ -164,7 +164,8 @@ def collect_failures(actual, expected, keys): return (f"Could not find trait '{trait_id}' in actual results",) __eq = tuple() for act_key, exp_key, title in keys: - act_val, exp_val = (str(act_row[act_key]), str(exp_row[exp_key])) + act_val, exp_val = ( + str(act_row[act_key]).strip(), str(exp_row[exp_key]).strip()) if act_val == exp_val: # __eq = __eq + ("PASSED",) continue -- cgit v1.2.3