Skip to content

Commit e11f12a

Browse files
committed
Fixed submodule test. Just a tiny thing
1 parent 5b3b652 commit e11f12a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

git/test/test_submodule.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,9 @@ def _do_base_tests(self, rwrepo):
247247
self.failUnlessRaises(InvalidGitRepositoryError, sm.remove, dry_run=True)
248248
sm.module().index.reset(working_tree=True)
249249

250+
# enforce the submodule to be checked out at the right spot as well.
251+
csm.update()
252+
250253
# this would work
251254
assert sm.remove(dry_run=True) is sm
252255
assert sm.module_exists()

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy