MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / test_simple_compile

Method test_simple_compile

test/dialect/oracle/test_compiler.py:1702–1711  ·  view source on GitHub ↗
(self, fn, string, params)

Source from the content-addressed store, hash-verified

1700 (lambda t: func.power(t.c.a, t.c.b), "power(t.a, t.b)", {}),
1701 )
1702 def test_simple_compile(self, fn, string, params):
1703 t = table(
1704 "t",
1705 column("a", Integer),
1706 column("b", Integer),
1707 column("c", String),
1708 column("d", String),
1709 )
1710 expr = resolve_lambda(fn, t=t)
1711 self.assert_compile(expr, string, params)
1712
1713
1714class SequenceTest(fixtures.TestBase, AssertsCompiledSQL):

Callers

nothing calls this directly

Calls 4

tableFunction · 0.90
columnFunction · 0.90
resolve_lambdaFunction · 0.90
assert_compileMethod · 0.80

Tested by

no test coverage detected