File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1031,8 +1031,8 @@ def test_branch_renames(self, rw_dir):
10311031 # This doesn't fail as our own submodule binsha didn't change, and the reset is only triggered if
10321032 # to latest revision is True.
10331033 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"
1034+ assert sm_mod .head .ref .name == sm_pfb .name , "should have been switched to past head"
1035+ assert sm_mod .commit () == sm_fb .commit , "Head wasn't reset"
10361036
10371037 self .assertRaises (RepositoryDirtyError , parent_repo .submodule_update , to_latest_revision = True )
10381038 parent_repo .submodule_update (to_latest_revision = True , force_reset = True )
You can’t perform that action at this time.
0 commit comments