We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parenta77a17f commite93ffe1Copy full SHA for e93ffe1
git/test/test_submodule.py
@@ -480,9 +480,8 @@ def test_root_module(self, rwrepo):
480
withsm.config_writer()aswriter:
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 )