From 689db87086169153682de38c9bb79613c506153f Mon Sep 17 00:00:00 2001 From: Hang Su Date: Thu, 25 Aug 2022 11:26:48 -0400 Subject: [PATCH] more specific error checking santence --- tests/steps/steps.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/steps/steps.py b/tests/steps/steps.py index 08c47e3c2..4d15526e3 100644 --- a/tests/steps/steps.py +++ b/tests/steps/steps.py @@ -1013,7 +1013,7 @@ def heuristic_check_over_bytes(context): context.sanity_check_err = str(e) -@then('if there exists an error, the error contains "{err_msg:MaybeString}"') +@then('if the heuristic sanity check throws an error, the error contains "{err_msg:MaybeString}"') def check_error_if_matching(context, err_msg: str = None): if len(err_msg) > 0: assert err_msg in context.sanity_check_err