MCPcopy
hub / github.com/geldata/gel / test_sql_native_query_08

Method test_sql_native_query_08

tests/test_sql_query.py:3170–3183  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

3168 )
3169
3170 async def test_sql_native_query_08(self):
3171 with self.assertRaisesRegex(
3172 edgedb.errors.QueryError,
3173 'duplicate column name: `x_a`',
3174 _position=92,
3175 ):
3176 await self.assert_sql_query_result(
3177 '''
3178 WITH
3179 x(a) AS (VALUES (2))
3180 SELECT 1 as x_a, * FROM x, x
3181 ''',
3182 [],
3183 )
3184
3185 async def test_sql_native_query_09(self):
3186 await self.assert_sql_query_result(

Callers

nothing calls this directly

Calls 2

assertRaisesRegexMethod · 0.45

Tested by

no test coverage detected