Skip to content

Commit 4c52294

Browse files
author
Zachary Andrews
committed
Another commit to get this to pass
1 parent 66a75a3 commit 4c52294

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

tests/test_issues.py

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,19 @@
88

99
def test_issue_made():
1010
"""Checks to ensure that issues are correctly being checked"""
11-
out, num, err = issues.check_issues_made(TOKEN + "ac38d5bdd114df9a0ee8", "GatorEducator/gatorgrader", "gkapfham", 1)
11+
out, num, err = issues.check_issues_made(
12+
TOKEN + "ac38d5bdd114df9a0ee8", "GatorEducator/gatorgrader", "gkapfham", 1
13+
)
1214
assert out is True
1315
assert num == 1
1416
assert err == 0
1517

1618

1719
def test_issue_comment():
1820
"""Checks to ensure that comments on issues are correctly being checked"""
19-
out, num, err = issues.check_comments_made(TOKEN + "ac38d5bdd114df9a0ee8", "GatorEducator/gatorgrader", "gkapfham", 1)
21+
out, num, err = issues.check_comments_made(
22+
TOKEN + "ac38d5bdd114df9a0ee8", "GatorEducator/gatorgrader", "gkapfham", 1
23+
)
2024
assert out is True
2125
assert num == 1
2226
assert err == 0
@@ -31,7 +35,9 @@ def test_issue_invalid_token():
3135
# pylint: disable=function-redefined
3236
def test_issue_invalid_repo():
3337
"""Checks to ensure that if there is an incorrect repo it returns the correct error"""
34-
__, __, err = issues.check_issues_made(TOKEN + "ac38d5bdd114df9a0ee8", "GatorEducator/gator", "gkapfham", 1)
38+
__, __, err = issues.check_issues_made(
39+
TOKEN + "ac38d5bdd114df9a0ee8", "GatorEducator/gator", "gkapfham", 1
40+
)
3541
assert err == -2
3642

3743

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

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

0 commit comments

Comments
 (0)