@@ -2604,8 +2604,8 @@ def test_assert_updated(self):
26042604
26052605 # when ids has multiple records, all records should be updated
26062606 with self .assertUpdated ("res_partner" , ids = [p1 .id , p2 .id ]):
2607- p1 .company_name = "Survey Corps"
2608- p2 .company_name = "Survey Corps"
2607+ p1 .city = "Survey Corps"
2608+ p2 .city = "Survey Corps"
26092609 util .flush (p1 )
26102610 util .flush (p2 )
26112611 with self .assertRaises (AssertionError ), self .assertUpdated ("res_partner" , ids = [p1 .id , p2 .id ]):
@@ -2641,12 +2641,12 @@ def test_assert_not_updated(self):
26412641
26422642 # when ids has a record, only that record should not be updated
26432643 with self .assertNotUpdated ("res_partner" , ids = [p2 .id ]):
2644- p1 .company_name = "Survey Corps"
2644+ p1 .city = "Survey Corps"
26452645 util .flush (p1 )
26462646
26472647 # when ids has multiple records, none of them should be updated
26482648 with self .assertRaises (AssertionError ), self .assertNotUpdated ("res_partner" , ids = [p1 .id , p2 .id ]):
2649- p2 .company_name = "Survey Corps"
2649+ p2 .city = "Survey Corps"
26502650 util .flush (p2 )
26512651
26522652 def test_assert_updated_combo (self ):
@@ -2656,7 +2656,7 @@ def test_assert_updated_combo(self):
26562656 util .flush (p2 )
26572657
26582658 with self .assertUpdated ("res_partner" , ids = [p1 .id ]), self .assertNotUpdated ("res_partner" , ids = [p2 .id ]):
2659- p1 .company_name = "Marley Warriors"
2659+ p1 .city = "Marley Warriors"
26602660 util .flush (p1 )
26612661
26622662 with self .assertRaises (AssertionError ), self .assertUpdated ("res_partner" ), self .assertNotUpdated (
0 commit comments