MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / test_text_as_from_select_statement

Method test_text_as_from_select_statement

test/sql/test_roles.py:294–300  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

292 )
293
294 def test_text_as_from_select_statement(self):
295 is_true(
296 expect(
297 roles.SelectStatementRole,
298 text("select * from table").columns(t.c.q),
299 ).compare(text("select * from table").columns(t.c.q))
300 )
301
302 def test_statement_coercion_select(self):
303 is_true(expect(roles.StatementRole, select(t)).compare(select(t)))

Callers

nothing calls this directly

Calls 5

is_trueFunction · 0.90
expectFunction · 0.90
textFunction · 0.90
compareMethod · 0.45
columnsMethod · 0.45

Tested by

no test coverage detected