(self)
| 370 | self.assertIs(q.check({"name": Value("other")}), False) |
| 371 | |
| 372 | def test_missing_field(self): |
| 373 | q = Q(description__startswith="prefix") |
| 374 | msg = "Cannot resolve keyword 'description' into field." |
| 375 | with self.assertRaisesMessage(FieldError, msg): |
| 376 | q.check({"name": "test"}) |
| 377 | |
| 378 | def test_boolean_expression(self): |
| 379 | q = Q(ExpressionWrapper(Q(price__gt=20), output_field=BooleanField())) |
nothing calls this directly
no test coverage detected