summaryrefslogtreecommitdiff
path: root/git/test/test_submodule.py
diff options
context:
space:
mode:
authorSebastian Thiel <byronimo@gmail.com>2011-06-13 19:56:58 +0200
committerSebastian Thiel <byronimo@gmail.com>2011-06-13 19:56:58 +0200
commit85b836b1efb8a491230e918f7b81da3dc2a232c4 (patch)
tree3b879311963641a7c5aaac9fa2d3cae8f1deb9b0 /git/test/test_submodule.py
parent5127e167328c7da2593fea98a27b27bb0acece68 (diff)
downloadgitpython-85b836b1efb8a491230e918f7b81da3dc2a232c4.tar.gz
test_submodule doesn't assume latest version of gitdb anymore
Diffstat (limited to 'git/test/test_submodule.py')
-rw-r--r--git/test/test_submodule.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/git/test/test_submodule.py b/git/test/test_submodule.py
index eb8a606a..a5d460fd 100644
--- a/git/test/test_submodule.py
+++ b/git/test/test_submodule.py
@@ -562,5 +562,6 @@ class TestSubmodule(TestBase):
rm.update(recursive=True, progress=prog, dry_run=True) # just to run the code
rm.update(recursive=True, progress=prog)
- assert len(nsm.children()) >= 2 and nsmc.module_exists()
+ # gitdb: has either 1 or 2 submodules depending on the version
+ assert len(nsm.children()) >= 1 and nsmc.module_exists()