From d44414f5e1bc1fe1c447381497f4f207834bc312 Mon Sep 17 00:00:00 2001 From: Camelid Date: Wed, 4 Nov 2020 21:09:28 -0800 Subject: [PATCH] Fix mistake --- homu/parse_issue_comment.py | 2 +- homu/tests/test_parse_issue_comment.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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..1cabf4f 100644 --- a/homu/tests/test_parse_issue_comment.py +++ b/homu/tests/test_parse_issue_comment.py @@ -128,7 +128,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 """