From 3a692bf277f0176b1ceb95c60b5ec688219e1058 Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Mon, 12 Sep 2022 07:14:41 +0300 Subject: Display cause(s) of test failure. --- test/requests/correlation_tests.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/requests/correlation_tests.py b/test/requests/correlation_tests.py index 5115ba08..38979abc 100644 --- a/test/requests/correlation_tests.py +++ b/test/requests/correlation_tests.py @@ -87,8 +87,8 @@ def check_correlations(args_obj, parser): print(f"\tChecking {corr_type} correlations...", end="") corr_type_fn(host, corr_base) print(" ok") - except AssertionError: - print (" fail") + except AssertionError as asserterr: + print (f" fail: {asserterr.args[0]}") failure = True if failure: -- cgit v1.2.3