Skip to content

Commit

Permalink
typo fix
Browse files Browse the repository at this point in the history
Co-authored-by: Nicola Soranzo <[email protected]>
  • Loading branch information
mr-c and nsoranzo committed Nov 1, 2023
1 parent 8308d85 commit 970c041
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions test/unit/app/jobs/test_rule_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,8 @@ def test_job_count():


def __assert_job_count_is(expected_count, rule_helper, **kwds):
if expected_count != (acutal_count := rule_helper.job_count(**kwds)):
template = "Expected job count %d, actual job count %s for params %s"
raise AssertionError(template % (expected_count, acutal_count, kwds))
if expected_count != (actual_count := rule_helper.job_count(**kwds)):
raise AssertionError(f"Expected job count {expected_count}, actual job count {actual_count} for params {kwds}")


def __setup_fixtures(app):
Expand Down

0 comments on commit 970c041

Please sign in to comment.