Skip to content

Commit

Permalink
chore: fix get repos test for running on forks
Browse files Browse the repository at this point in the history
  • Loading branch information
RonnyPfannschmidt authored and nedbat committed Oct 8, 2023
1 parent 075b6c4 commit bcdf917
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions tests/test_gitinfo.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ def test_real_get_github_repos():
# with .git
repos = get_github_repos()
assert len(repos) >= 1
for repo in repos:

assert re.fullmatch(r"\w+/\w+", repo)
assert not repo.endswith(".git")
repo = repos.pop()
assert re.fullmatch(r"\w+/\w+", repo)
assert not repo.endswith(".git")

0 comments on commit bcdf917

Please sign in to comment.