@@ -2363,8 +2363,8 @@ def test_assert_updated(self):
23632363
23642364 # when ids has multiple records, all records should be updated
23652365 with self .assertUpdated ("res_partner" , ids = [p1 .id , p2 .id ]):
2366- p1 .company_name = "Survey Corps"
2367- p2 .company_name = "Survey Corps"
2366+ p1 .city = "Survey Corps"
2367+ p2 .city = "Survey Corps"
23682368 util .flush (p1 )
23692369 util .flush (p2 )
23702370 with self .assertRaises (AssertionError ), self .assertUpdated ("res_partner" , ids = [p1 .id , p2 .id ]):
@@ -2400,12 +2400,12 @@ def test_assert_not_updated(self):
24002400
24012401 # when ids has a record, only that record should not be updated
24022402 with self .assertNotUpdated ("res_partner" , ids = [p2 .id ]):
2403- p1 .company_name = "Survey Corps"
2403+ p1 .city = "Survey Corps"
24042404 util .flush (p1 )
24052405
24062406 # when ids has multiple records, none of them should be updated
24072407 with self .assertRaises (AssertionError ), self .assertNotUpdated ("res_partner" , ids = [p1 .id , p2 .id ]):
2408- p2 .company_name = "Survey Corps"
2408+ p2 .city = "Survey Corps"
24092409 util .flush (p2 )
24102410
24112411 def test_assert_updated_combo (self ):
@@ -2415,7 +2415,7 @@ def test_assert_updated_combo(self):
24152415 util .flush (p2 )
24162416
24172417 with self .assertUpdated ("res_partner" , ids = [p1 .id ]), self .assertNotUpdated ("res_partner" , ids = [p2 .id ]):
2418- p1 .company_name = "Marley Warriors"
2418+ p1 .city = "Marley Warriors"
24192419 util .flush (p1 )
24202420
24212421 with self .assertRaises (AssertionError ), self .assertUpdated ("res_partner" ), self .assertNotUpdated (
0 commit comments