(self, type_)
| 561 | ) |
| 562 | @testing.requires.updateable_autoincrement_pks |
| 563 | def test_update_attrs(self, type_): |
| 564 | if type_ == "states": |
| 565 | asserter = self._test_update_states(self.classes.PersonAttrs) |
| 566 | else: |
| 567 | asserter = self._test_update(self.classes.PersonAttrs) |
| 568 | asserter.assert_( |
| 569 | CompiledSQL( |
| 570 | "UPDATE people_attrs SET name=:name " |
| 571 | "WHERE people_attrs.person_id = :people_attrs_person_id", |
| 572 | [{"name": "newname", "people_attrs_person_id": 5}], |
| 573 | ) |
| 574 | ) |
| 575 | |
| 576 | @testing.requires.updateable_autoincrement_pks |
| 577 | def test_update_both(self): |
nothing calls this directly
no test coverage detected