Skip to content

Commit

Permalink
Fix mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
camelid committed Nov 5, 2020
1 parent f845744 commit 6dc88f3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion homu/parse_issue_comment.py
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down
3 changes: 2 additions & 1 deletion homu/tests/test_parse_issue_comment.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
"""
Expand Down

0 comments on commit 6dc88f3

Please sign in to comment.