summaryrefslogtreecommitdiff
path: root/lib/spack/spack/test/git_fetch.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/spack/spack/test/git_fetch.py')
-rw-r--r--lib/spack/spack/test/git_fetch.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/spack/spack/test/git_fetch.py b/lib/spack/spack/test/git_fetch.py
index 1ac7b473c7..9c4c993953 100644
--- a/lib/spack/spack/test/git_fetch.py
+++ b/lib/spack/spack/test/git_fetch.py
@@ -212,7 +212,7 @@ def test_get_full_repo(get_full_repo, git_version, mock_git_repository,
ncommits = len(commits)
if get_full_repo:
- assert(nbranches == 5)
+ assert(nbranches >= 5)
assert(ncommits == 2)
else:
assert(nbranches == 2)