Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

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

Sign up
Appearance settings

Commite93ffe1

Browse files
stsewdByron
authored andcommitted
Fix test
1 parenta77a17f commite93ffe1

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

‎git/test/test_submodule.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -480,9 +480,8 @@ def test_root_module(self, rwrepo):
480480
withsm.config_writer()aswriter:
481481
writer.set_value('path',fp)# change path to something with prefix AFTER url change
482482

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)
483+
# update doesn't fail, because list_items ignores the wrong path in such situations.
484+
rm.update(recursive=False)
486485

487486
# move it properly - doesn't work as it its path currently points to an indexentry
488487
# which doesn't exist ( move it to some path, it doesn't matter here )

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp