Skip to content

Commit

Permalink
more specific error checking santence
Browse files Browse the repository at this point in the history
  • Loading branch information
ahangsu committed Aug 25, 2022
1 parent 80c2d79 commit 689db87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/steps/steps.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 689db87

Please sign in to comment.