(self)
| 575 | |
| 576 | @testing.requires.updateable_autoincrement_pks |
| 577 | def test_update_both(self): |
| 578 | # want to make sure that before [ticket:3849], this did not have |
| 579 | # a successful behavior or workaround |
| 580 | asserter = self._test_update(self.classes.PersonBoth) |
| 581 | asserter.assert_( |
| 582 | CompiledSQL( |
| 583 | "UPDATE people_both SET name=:name_key " |
| 584 | "WHERE people_both.person_id = :people_both_person_id", |
| 585 | [{"name_key": "newname", "people_both_person_id": 5}], |
| 586 | ) |
| 587 | ) |
| 588 | |
| 589 | def _test_insert(self, person_cls): |
| 590 | Person = person_cls |
nothing calls this directly
no test coverage detected