(self)
| 1785 | ) |
| 1786 | |
| 1787 | def test_alias(self): |
| 1788 | qs = Season.objects.alias(greater=GreaterThan(F("year"), 1910)) |
| 1789 | self.assertCountEqual(qs.filter(greater=True), [self.s1, self.s3]) |
| 1790 | |
| 1791 | def test_annotate_value_greater_than_value(self): |
| 1792 | qs = Season.objects.annotate(greater=GreaterThan(Value(40), Value(30))) |
nothing calls this directly
no test coverage detected