We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a77a17f commit e93ffe1Copy full SHA for e93ffe1
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