summaryrefslogtreecommitdiff
path: root/git/test/test_submodule.py
diff options
context:
space:
mode:
Diffstat (limited to 'git/test/test_submodule.py')
-rw-r--r--git/test/test_submodule.py10
1 files changed, 6 insertions, 4 deletions
diff --git a/git/test/test_submodule.py b/git/test/test_submodule.py
index bb488502..76412123 100644
--- a/git/test/test_submodule.py
+++ b/git/test/test_submodule.py
@@ -665,8 +665,10 @@ class TestSubmodule(TestBase):
assert sm.module_exists()
# remove
- sm.remove()
- assert sm.exist()
sm_module_path = sm.module().git_dir
- assert sm.module_exists()
- assert os.path.isdir(sm_module_path)
+ sm.remove()
+ assert not sm.exists()
+ assert not sm.module_exists()
+ assert not os.path.isdir(sm_module_path)
+
+