Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit e11f12a

Browse filesBrowse files
committed
Fixed submodule test. Just a tiny thing
1 parent 5b3b652 commit e11f12a
Copy full SHA for e11f12a

File tree

1 file changed

+3
-0
lines changed
Filter options

1 file changed

+3
-0
lines changed

‎git/test/test_submodule.py

Copy file name to clipboardExpand all lines: git/test/test_submodule.py
+3Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.