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

Method test_sql_native_query_04

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

Source from the content-addressed store, hash-verified

3119 )
3120
3121 async def test_sql_native_query_04(self):
3122 with self.assertRaisesRegex(
3123 edgedb.errors.QueryError,
3124 'duplicate column name: `a`',
3125 _position=15,
3126 ):
3127 await self.assert_sql_query_result('SELECT 1 AS a, 2 AS a', [])
3128
3129 async def test_sql_native_query_05(self):
3130 # `a` would be duplicated,

Callers

nothing calls this directly

Calls 2

assertRaisesRegexMethod · 0.45

Tested by

no test coverage detected