Skip to content

Commit

Permalink
Another commit to get this to pass
Browse files Browse the repository at this point in the history
  • Loading branch information
Zachary Andrews committed Mar 1, 2019
1 parent 66a75a3 commit 4c52294
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions tests/test_issues.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,19 @@

def test_issue_made():
"""Checks to ensure that issues are correctly being checked"""
out, num, err = issues.check_issues_made(TOKEN + "ac38d5bdd114df9a0ee8", "GatorEducator/gatorgrader", "gkapfham", 1)
out, num, err = issues.check_issues_made(
TOKEN + "ac38d5bdd114df9a0ee8", "GatorEducator/gatorgrader", "gkapfham", 1
)
assert out is True
assert num == 1
assert err == 0


def test_issue_comment():
"""Checks to ensure that comments on issues are correctly being checked"""
out, num, err = issues.check_comments_made(TOKEN + "ac38d5bdd114df9a0ee8", "GatorEducator/gatorgrader", "gkapfham", 1)
out, num, err = issues.check_comments_made(
TOKEN + "ac38d5bdd114df9a0ee8", "GatorEducator/gatorgrader", "gkapfham", 1
)
assert out is True
assert num == 1
assert err == 0
Expand All @@ -31,7 +35,9 @@ def test_issue_invalid_token():
# pylint: disable=function-redefined
def test_issue_invalid_repo():
"""Checks to ensure that if there is an incorrect repo it returns the correct error"""
__, __, err = issues.check_issues_made(TOKEN + "ac38d5bdd114df9a0ee8", "GatorEducator/gator", "gkapfham", 1)
__, __, err = issues.check_issues_made(
TOKEN + "ac38d5bdd114df9a0ee8", "GatorEducator/gator", "gkapfham", 1
)
assert err == -2


Expand All @@ -44,5 +50,7 @@ def test_comments_invalid_token():

def test_comments_invalid_repo():
"""Checks to ensure that if there is an incorrect repo it returns the correct error"""
__, __, err = issues.check_comments_made(TOKEN + "ac38d5bdd114df9a0ee8", "GatorEducator/gator", "gkapfham", 1)
__, __, err = issues.check_comments_made(
TOKEN + "ac38d5bdd114df9a0ee8", "GatorEducator/gator", "gkapfham", 1
)
assert err == -2

1 comment on commit 4c52294

@Michionlion
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @ZachAndrews98, I just wanted to let you know that commit messages like these will probably not be accepted by @gkapfham, so it would be best to change them.

Please sign in to comment.