Skip to content

Commit

Permalink
Tests: Thread expected_status through step_with_status
Browse files Browse the repository at this point in the history
  • Loading branch information
Alasdair committed Feb 11, 2025
1 parent cae9902 commit c8020d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/sailtest.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ def step_with_status(string, expected_status=0, cwd=None):
return status

def step(string, expected_status=0, cwd=None):
if step_with_status(string, cwd=cwd) != expected_status:
if step_with_status(string, expected_status=expected_status, cwd=cwd) != expected_status:
sys.exit(1)

def banner(string):
Expand Down

0 comments on commit c8020d3

Please sign in to comment.