(self)
| 1761 | ) |
| 1762 | |
| 1763 | def test_lookup_direct_value_rhs_unwrapped(self): |
| 1764 | with self.assertNumQueries(1) as ctx: |
| 1765 | self.assertIs(Author.objects.filter(GreaterThan(2, 1)).exists(), True) |
| 1766 | # Direct values on RHS are not wrapped. |
| 1767 | self.assertIn("2 > 1", ctx.captured_queries[0]["sql"]) |
| 1768 | |
| 1769 | |
| 1770 | class LookupQueryingTests(TestCase): |
nothing calls this directly
no test coverage detected