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

Method test_sql_native_query_03

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

Source from the content-addressed store, hash-verified

3098 )
3099
3100 async def test_sql_native_query_03(self):
3101 # No output at all
3102 await self.assert_sql_query_result(
3103 """
3104 SELECT
3105 WHERE NULL
3106 """,
3107 [],
3108 )
3109
3110 # Empty tuples
3111 await self.assert_sql_query_result(
3112 """
3113 SELECT
3114 FROM "Movie"
3115 LIMIT 1
3116 """,
3117 [{}],
3118 apply_access_policies=False,
3119 )
3120
3121 async def test_sql_native_query_04(self):
3122 with self.assertRaisesRegex(

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected