MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / test_use_labels

Method test_use_labels

test/sql/test_functions.py:149–153  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

147 )
148
149 def test_use_labels(self):
150 self.assert_compile(
151 select(func.foo()).set_label_style(LABEL_STYLE_TABLENAME_PLUS_COL),
152 "SELECT foo() AS foo_1",
153 )
154
155 def test_use_labels_function_element(self):
156 class max_(FunctionElement):

Callers

nothing calls this directly

Calls 4

selectFunction · 0.90
assert_compileMethod · 0.80
set_label_styleMethod · 0.45
fooMethod · 0.45

Tested by

no test coverage detected