summaryrefslogtreecommitdiff
path: root/test/git/test_submodule.py
diff options
context:
space:
mode:
authorSebastian Thiel <byronimo@gmail.com>2010-11-15 12:13:59 +0100
committerSebastian Thiel <byronimo@gmail.com>2010-11-15 12:13:59 +0100
commit4d36f8ff4d1274a8815e932285ad6dbd6b2888af (patch)
tree0695bd109d491ffab1cc3890814f0b37a7677405 /test/git/test_submodule.py
parenta1e2f63e64875a29e8c01a7ae17f5744680167a5 (diff)
downloadgitpython-4d36f8ff4d1274a8815e932285ad6dbd6b2888af.tar.gz
Improved GitConfigurationParser to better deal with streams and the corresponding locks. Submodule class now operates on parent_commits, the configuration is either streamed from the repository or written directly into a blob ( or file ) dependending on whether we have a working tree checkout or not which matches our parent_commit
Diffstat (limited to 'test/git/test_submodule.py')
-rw-r--r--test/git/test_submodule.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/git/test_submodule.py b/test/git/test_submodule.py
index 7922db77..7c8dffcb 100644
--- a/test/git/test_submodule.py
+++ b/test/git/test_submodule.py
@@ -19,7 +19,9 @@ class TestSubmodule(TestBase):
# size is invalid
self.failUnlessRaises(ValueError, getattr, sm, 'size')
- # fails if tree has no gitmodule file
+ # set_parent_commit fails if tree has no gitmodule file
+
+
if rwrepo.bare:
# module fails
@@ -28,6 +30,8 @@ class TestSubmodule(TestBase):
# get the module repository
pass
# END bare handling
+
+ # Writing of historical submodule configurations must not work
@with_rw_repo(kCOTag)
def test_base_rw(self, rwrepo):