diff --git a/homu/parse_issue_comment.py b/homu/parse_issue_comment.py index 538ce73..a439eae 100644 --- a/homu/parse_issue_comment.py +++ b/homu/parse_issue_comment.py @@ -206,7 +206,7 @@ def parse_issue_comment(username, body, sha, botname, hooks=[]): if await_ci: commands.append( - IssueCommentCommand.approve_await(approver, approved_sha)) + IssueCommentCommand.approve_await(approver, approved_sha)) # noqa else: commands.append( IssueCommentCommand.approve(approver, approved_sha)) diff --git a/homu/tests/test_parse_issue_comment.py b/homu/tests/test_parse_issue_comment.py index 76e1784..d636f53 100644 --- a/homu/tests/test_parse_issue_comment.py +++ b/homu/tests/test_parse_issue_comment.py @@ -52,6 +52,7 @@ def test_r_plus_with_sha(): assert command.actor == 'jack' assert command.commit == other_commit + def test_r_plus_await(): """ @bors r+ await @@ -128,7 +129,7 @@ def test_r_equals_await(): assert command.actor == 'jill' -def test_r_equals_at_user(): +def test_r_equals_at_user_await(): """ @bors r=@jill await """