summaryrefslogtreecommitdiff
path: root/test/git/test_refs.py
diff options
context:
space:
mode:
authorSebastian Thiel <byronimo@gmail.com>2010-11-06 09:47:00 +0100
committerSebastian Thiel <byronimo@gmail.com>2010-11-06 10:12:39 +0100
commitbd7fb976ab0607592875b5697dc76c117a18dc73 (patch)
treeb21cf8c6b35254524f08fa02866694694fab5973 /test/git/test_refs.py
parent0d5bfb5d6d22f8fe8c940f36e1fbe16738965d5f (diff)
downloadgitpython-bd7fb976ab0607592875b5697dc76c117a18dc73.tar.gz
test_refs: fixed failing tests just by making it less strict. It is dependent on the setup of the surrounding repository, hence the amount of ref-types found is actually variable, as long as they get more
Diffstat (limited to 'test/git/test_refs.py')
-rw-r--r--test/git/test_refs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/git/test_refs.py b/test/git/test_refs.py
index 99a66fc2..5f13d0b7 100644
--- a/test/git/test_refs.py
+++ b/test/git/test_refs.py
@@ -78,7 +78,7 @@ class TestRefs(TestBase):
types_found = set()
for ref in self.rorepo.refs:
types_found.add(type(ref))
- assert len(types_found) == 3
+ assert len(types_found) >= 3
def test_is_valid(self):
assert Reference(self.rorepo, 'refs/doesnt/exist').is_valid() == False