@@ -2550,8 +2550,8 @@ def test_assert_updated(self):
25502550
25512551 # when ids has multiple records, all records should be updated
25522552 with self .assertUpdated ("res_partner" , ids = [p1 .id , p2 .id ]):
2553- p1 .company_name = "Survey Corps"
2554- p2 .company_name = "Survey Corps"
2553+ p1 .city = "Survey Corps"
2554+ p2 .city = "Survey Corps"
25552555 util .flush (p1 )
25562556 util .flush (p2 )
25572557 with self .assertRaises (AssertionError ), self .assertUpdated ("res_partner" , ids = [p1 .id , p2 .id ]):
@@ -2587,12 +2587,12 @@ def test_assert_not_updated(self):
25872587
25882588 # when ids has a record, only that record should not be updated
25892589 with self .assertNotUpdated ("res_partner" , ids = [p2 .id ]):
2590- p1 .company_name = "Survey Corps"
2590+ p1 .city = "Survey Corps"
25912591 util .flush (p1 )
25922592
25932593 # when ids has multiple records, none of them should be updated
25942594 with self .assertRaises (AssertionError ), self .assertNotUpdated ("res_partner" , ids = [p1 .id , p2 .id ]):
2595- p2 .company_name = "Survey Corps"
2595+ p2 .city = "Survey Corps"
25962596 util .flush (p2 )
25972597
25982598 def test_assert_updated_combo (self ):
@@ -2602,7 +2602,7 @@ def test_assert_updated_combo(self):
26022602 util .flush (p2 )
26032603
26042604 with self .assertUpdated ("res_partner" , ids = [p1 .id ]), self .assertNotUpdated ("res_partner" , ids = [p2 .id ]):
2605- p1 .company_name = "Marley Warriors"
2605+ p1 .city = "Marley Warriors"
26062606 util .flush (p1 )
26072607
26082608 with self .assertRaises (AssertionError ), self .assertUpdated ("res_partner" ), self .assertNotUpdated (
0 commit comments