Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4bed109 commit 6a235bcCopy full SHA for 6a235bc
git/test/test_submodule.py
@@ -480,9 +480,8 @@ def test_root_module(self, rwrepo):
480
with sm.config_writer() as writer:
481
writer.set_value('path', fp) # change path to something with prefix AFTER url change
482
483
- # update fails as list_items in such a situations cannot work, as it cannot
484
- # find the entry at the changed path
485
- self.failUnlessRaises(InvalidGitRepositoryError, rm.update, recursive=False)
+ # update doesn't fail, because list_items ignores the wrong path in such situations.
+ rm.update(recursive=False)
486
487
# move it properly - doesn't work as it its path currently points to an indexentry
488
# which doesn't exist ( move it to some path, it doesn't matter here )
0 commit comments