@@ -2364,8 +2364,8 @@ def test_assert_updated(self):
23642364
23652365 # when ids has multiple records, all records should be updated
23662366 with self .assertUpdated ("res_partner" , ids = [p1 .id , p2 .id ]):
2367- p1 .company_name = "Survey Corps"
2368- p2 .company_name = "Survey Corps"
2367+ p1 .city = "Survey Corps"
2368+ p2 .city = "Survey Corps"
23692369 util .flush (p1 )
23702370 util .flush (p2 )
23712371 with self .assertRaises (AssertionError ), self .assertUpdated ("res_partner" , ids = [p1 .id , p2 .id ]):
@@ -2401,12 +2401,12 @@ def test_assert_not_updated(self):
24012401
24022402 # when ids has a record, only that record should not be updated
24032403 with self .assertNotUpdated ("res_partner" , ids = [p2 .id ]):
2404- p1 .company_name = "Survey Corps"
2404+ p1 .city = "Survey Corps"
24052405 util .flush (p1 )
24062406
24072407 # when ids has multiple records, none of them should be updated
24082408 with self .assertRaises (AssertionError ), self .assertNotUpdated ("res_partner" , ids = [p1 .id , p2 .id ]):
2409- p2 .company_name = "Survey Corps"
2409+ p2 .city = "Survey Corps"
24102410 util .flush (p2 )
24112411
24122412 def test_assert_updated_combo (self ):
@@ -2416,7 +2416,7 @@ def test_assert_updated_combo(self):
24162416 util .flush (p2 )
24172417
24182418 with self .assertUpdated ("res_partner" , ids = [p1 .id ]), self .assertNotUpdated ("res_partner" , ids = [p2 .id ]):
2419- p1 .company_name = "Marley Warriors"
2419+ p1 .city = "Marley Warriors"
24202420 util .flush (p1 )
24212421
24222422 with self .assertRaises (AssertionError ), self .assertUpdated ("res_partner" ), self .assertNotUpdated (
0 commit comments