diff options
author | Frederick Muriuki Muriithi | 2023-01-25 02:46:53 +0300 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2023-01-25 02:46:53 +0300 |
commit | f9fcbc26c5588f62f5c674d9d424197b9c8b1fc4 (patch) | |
tree | c604c6c1b0b9a57d38d6b4a73be9223439368b06 /test | |
parent | 3a03fe5e26ed243fc6562f8cfe4ebe0078a5d390 (diff) | |
download | genenetwork2-f9fcbc26c5588f62f5c674d9d424197b9c8b1fc4.tar.gz |
mechanical-rob: corrs: Activate tests. Print out whitespace
* Activate the correlation correctness tests
* Print out whitespace characters in such a form that allows visual
comparison of differences to help with fixing issues caught by
tests.
Diffstat (limited to 'test')
-rw-r--r-- | test/requests/correlation_tests.py | 4 | ||||
-rwxr-xr-x | test/requests/test-website.py | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/test/requests/correlation_tests.py b/test/requests/correlation_tests.py index 40e5242a..5c5ad6f7 100644 --- a/test/requests/correlation_tests.py +++ b/test/requests/correlation_tests.py @@ -172,9 +172,9 @@ def collect_failures(actual, expected, keys): continue __eq = __eq + (( f"Trait '{trait_id}': " - f"Different '{title}' values: expected:\n\t\t'{exp_val}'" + f"Different '{title}' values: expected:\n\t\t'{repr(exp_val)}'" "\n\nbut got\n" - f"\n\t\t'{act_val}'"),) + f"\n\t\t'{repr(act_val)}'"),) continue return __eq diff --git a/test/requests/test-website.py b/test/requests/test-website.py index 35a69c6c..7eb1678f 100755 --- a/test/requests/test-website.py +++ b/test/requests/test-website.py @@ -43,7 +43,7 @@ def run_all(args_obj, parser): check_packaged_js_files(args_obj, parser) check_mapping(args_obj, parser) check_correlations(args_obj, parser) - # check_correlations_correctness(args_obj, parser) # activate once all correlations are verified + check_correlations_correctness(args_obj, parser) # activate once all correlations are verified # TODO: Add other functions as they are created. |