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

Method test_sql_native_query_06

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

Source from the content-addressed store, hash-verified

3141 )
3142
3143 async def test_sql_native_query_06(self):
3144 await self.assert_sql_query_result(
3145 '''
3146 WITH
3147 x(a) AS (VALUES (1)),
3148 y(a) AS (VALUES (2), (3))
3149 SELECT x.*, u.* FROM x, y as u
3150 ''',
3151 [{'a': 1, 'u_a': 2}, {'a': 1, 'u_a': 3}],
3152 )
3153
3154 async def test_sql_native_query_07(self):
3155 with self.assertRaisesRegex(

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected