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

Method test_sql_native_query_07

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

Source from the content-addressed store, hash-verified

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(

Callers

nothing calls this directly

Calls 2

assertRaisesRegexMethod · 0.45

Tested by

no test coverage detected