From c437ee5deb8d00cf02f03720693e4c802e99f390 Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Mon, 13 Jun 2011 16:24:55 +0200 Subject: 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 --- git/test/test_repo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'git/test/test_repo.py') 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") -- cgit v1.2.1