summaryrefslogtreecommitdiff
path: root/git/test/test_repo.py
diff options
context:
space:
mode:
authorSebastian Thiel <byronimo@gmail.com>2011-06-13 16:24:55 +0200
committerSebastian Thiel <byronimo@gmail.com>2011-06-13 16:24:55 +0200
commitc437ee5deb8d00cf02f03720693e4c802e99f390 (patch)
treec0652afb8fbdee455231f548a619f9d0f06decbf /git/test/test_repo.py
parent9e4a44b302d3a3e49aa014062b42de84480a8d4f (diff)
downloadgitpython-c437ee5deb8d00cf02f03720693e4c802e99f390.tar.gz
fixed test_repo to deal with new and old versions of the gitdb. windows is now ready to ship, regarding the test cases at least
Diffstat (limited to 'git/test/test_repo.py')
-rw-r--r--git/test/test_repo.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/git/test/test_repo.py b/git/test/test_repo.py
index deadbe9a..00ae37db 100644
--- a/git/test/test_repo.py
+++ b/git/test/test_repo.py
@@ -587,7 +587,7 @@ class TestRepo(TestBase):
def test_submodules(self):
assert len(self.rorepo.submodules) == 1 # non-recursive
- assert len(list(self.rorepo.iter_submodules())) == 2
+ assert len(list(self.rorepo.iter_submodules())) >= 2
assert isinstance(self.rorepo.submodule("gitdb"), Submodule)
self.failUnlessRaises(ValueError, self.rorepo.submodule, "doesn't exist")