(self)
| 376 | q.check({"name": "test"}) |
| 377 | |
| 378 | def test_boolean_expression(self): |
| 379 | q = Q(ExpressionWrapper(Q(price__gt=20), output_field=BooleanField())) |
| 380 | self.assertIs(q.check({"price": 25}), True) |
| 381 | self.assertIs(q.check({"price": Value(10)}), False) |
| 382 | |
| 383 | def test_rawsql(self): |
| 384 | """ |
nothing calls this directly
no test coverage detected