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 committed Oct 3, 2023
1 parent 29ebbce commit 34e0f3f
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 34e0f3f

Please sign in to comment.