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.
2 parents b27a89f + 4e701bd commit abd445fCopy full SHA for abd445f
test/test_submodule.py
@@ -1031,8 +1031,8 @@ def test_branch_renames(self, rw_dir):
1031
# This doesn't fail as our own submodule binsha didn't change, and the reset is only triggered if
1032
# to latest revision is True.
1033
parent_repo.submodule_update(to_latest_revision=False)
1034
- sm_mod.head.ref.name == sm_pfb.name, "should have been switched to past head"
1035
- sm_mod.commit() == sm_fb.commit, "Head wasn't reset"
+ assert sm_mod.head.ref.name == sm_pfb.name, "should have been switched to past head"
+ assert sm_mod.commit() == sm_fb.commit, "Head wasn't reset"
1036
1037
self.assertRaises(RepositoryDirtyError, parent_repo.submodule_update, to_latest_revision=True)
1038
parent_repo.submodule_update(to_latest_revision=True, force_reset=True)
0 commit comments