diff options
author | Sebastian Thiel <byronimo@gmail.com> | 2010-11-19 10:27:30 +0100 |
---|---|---|
committer | Sebastian Thiel <byronimo@gmail.com> | 2010-11-19 10:28:15 +0100 |
commit | 7dd618655c96ff32b5c30e41a5406c512bcbb65f (patch) | |
tree | 2bc0beaf64de62cc7bf11cdc5a4c089e546e0e4c /test/git/test_repo.py | |
parent | 45c0f285a6d9d9214f8167742d12af2855f527fb (diff) | |
download | gitpython-7dd618655c96ff32b5c30e41a5406c512bcbb65f.tar.gz |
test_submodule: fixed failures that arose due to changes of the original submodule names. Also, a major bug was fixed that cased submodules to always being updated recursively when using the RootModule.update method
submodule: previously, it would update the repository configuration during add(), but in fact it must be done during update() when the module is cloned, which is how the git-submodule implementation works
Diffstat (limited to 'test/git/test_repo.py')
-rw-r--r-- | test/git/test_repo.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/git/test_repo.py b/test/git/test_repo.py index a6047bf5..62b4c476 100644 --- a/test/git/test_repo.py +++ b/test/git/test_repo.py @@ -560,7 +560,7 @@ class TestRepo(TestBase): assert len(self.rorepo.submodules) == 1 # non-recursive assert len(list(self.rorepo.iter_submodules())) == 2 - assert isinstance(self.rorepo.submodule("lib/git/ext/gitdb"), Submodule) + assert isinstance(self.rorepo.submodule("gitdb"), Submodule) self.failUnlessRaises(ValueError, self.rorepo.submodule, "doesn't exist") @with_rw_repo('HEAD', bare=False) |