(self)
| 3152 | ) |
| 3153 | |
| 3154 | async def test_sql_native_query_07(self): |
| 3155 | with self.assertRaisesRegex( |
| 3156 | edgedb.errors.QueryError, |
| 3157 | 'duplicate column name: `y_a`', |
| 3158 | _position=137, |
| 3159 | ): |
| 3160 | await self.assert_sql_query_result( |
| 3161 | ''' |
| 3162 | WITH |
| 3163 | x(a) AS (VALUES (1)), |
| 3164 | y(a) AS (VALUES (1 + 1), (1 + 1 + 1)) |
| 3165 | SELECT * FROM x, y, y |
| 3166 | ''', |
| 3167 | [], |
| 3168 | ) |
| 3169 | |
| 3170 | async def test_sql_native_query_08(self): |
| 3171 | with self.assertRaisesRegex( |
nothing calls this directly
no test coverage detected