Fix a typo in tests

This commit is contained in:
JelNiSław 2022-06-07 20:53:21 +02:00
parent 150050455a
commit 183b4dcd60
No known key found for this signature in database
GPG key ID: EA41571A0A88E97E

View file

@ -8,7 +8,7 @@ def test_parse_repo():
def test_parse_issue(): def test_parse_issue():
assert github.parse_issue("owner/repo#1") == (("owner", "repo", 1)) assert github.parse_issue("owner/repo#1") == (("owner", "repo"), 1)
assert github.parse_issue("owner/repo#0") is None assert github.parse_issue("owner/repo#0") is None
assert github.parse_issue("#1", default_owner="owner", default_repo="repo") == ( assert github.parse_issue("#1", default_owner="owner", default_repo="repo") == (
("owner", "repo"), ("owner", "repo"),