| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -480,9 +480,8 @@ def test_root_module(self, rwrepo): | |||
| 480 | 480 | with sm.config_writer() as writer: | |
| 481 | 481 | writer.set_value('path', fp) # change path to something with prefix AFTER url change | |
| 482 | 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) | ||
| 483 | + # update doesn't fail, because list_items ignores the wrong path in such situations. | ||
| 484 | + rm.update(recursive=False) | ||
| 486 | 485 | ||
| 487 | 486 | # move it properly - doesn't work as it its path currently points to an indexentry | |
| 488 | 487 | # which doesn't exist ( move it to some path, it doesn't matter here ) | |
| Back | FazBrowse Home | New Git URL |
0 commit comments