summaryrefslogtreecommitdiff
path: root/git/test/test_repo.py
diff options
context:
space:
mode:
authorSebastian Thiel <byronimo@gmail.com>2015-01-19 16:57:11 +0100
committerSebastian Thiel <byronimo@gmail.com>2015-01-19 16:57:11 +0100
commit20863cfe4a1b0c5bea18677470a969073570e41c (patch)
tree3e64226fb902a4558ba1765f7f4fa6d4cc8a2524 /git/test/test_repo.py
parenta223c7b7730c53c3fa1e4c019bd3daefbb8fd74b (diff)
downloadgitpython-20863cfe4a1b0c5bea18677470a969073570e41c.tar.gz
Implemented Submodule.rename()
A test verifies it's truly working. Related to #238
Diffstat (limited to 'git/test/test_repo.py')
-rw-r--r--git/test/test_repo.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/git/test/test_repo.py b/git/test/test_repo.py
index 226c1d26..c583fcae 100644
--- a/git/test/test_repo.py
+++ b/git/test/test_repo.py
@@ -164,6 +164,7 @@ class TestRepo(TestBase):
r = Repo.init(path=path, bare=True)
assert isinstance(r, Repo)
assert r.bare is True
+ assert not r.has_separate_working_tree()
assert os.path.isdir(r.git_dir)
self._assert_empty_repo(r)
@@ -200,6 +201,7 @@ class TestRepo(TestBase):
os.chdir(git_dir_rela)
r = Repo.init(bare=False)
assert r.bare is False
+ assert not r.has_separate_working_tree()
self._assert_empty_repo(r)
finally: