(self)
| 675 | grand_child.validate_unique() |
| 676 | |
| 677 | def test_unique_together(self): |
| 678 | grand_child = GrandChild( |
| 679 | email="grand_child@example.com", |
| 680 | first_name=self.grand_parent.first_name, |
| 681 | last_name=self.grand_parent.last_name, |
| 682 | ) |
| 683 | msg = "Grand parent with this First name and Last name already exists." |
| 684 | with self.assertRaisesMessage(ValidationError, msg): |
| 685 | grand_child.validate_unique() |
nothing calls this directly
no test coverage detected