(self)
| 80 | self.assertEqual(authors.first().lowest_age, 45) |
| 81 | |
| 82 | def test_update(self): |
| 83 | author = Author.objects.create(name="James Smith", goes_by="Jim") |
| 84 | Author.objects.update(alias=Least("name", "goes_by")) |
| 85 | author.refresh_from_db() |
| 86 | self.assertEqual(author.alias, "James Smith") |
| 87 | |
| 88 | def test_decimal_filter(self): |
| 89 | obj = DecimalModel.objects.create(n1=Decimal("1.1"), n2=Decimal("1.2")) |
nothing calls this directly
no test coverage detected