aboutsummaryrefslogtreecommitdiff
path: root/test/requests
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2023-01-24 11:33:01 +0300
committerFrederick Muriuki Muriithi2023-01-24 11:33:01 +0300
commit5be55b1b33f5584942ded560e914b97557f68419 (patch)
tree45a2f1e811f0aaec5ea2b6e7c036d8521cd2e181 /test/requests
parent79bc3d28df18c0d36de1337becfdb28284989431 (diff)
downloadgenenetwork2-5be55b1b33f5584942ded560e914b97557f68419.tar.gz
mechanical-rob: eliminate extraneous spaces before comparisons
Diffstat (limited to 'test/requests')
-rw-r--r--test/requests/correlation_tests.py3
1 files changed, 2 insertions, 1 deletions
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