MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / test_result_map_use_labels

Method test_result_map_use_labels

test/sql/test_labels.py:269–277  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

267 )
268
269 def test_result_map_use_labels(self):
270 table1 = self.table1
271 s = (
272 table1.select()
273 .set_label_style(LABEL_STYLE_TABLENAME_PLUS_COL)
274 .order_by(table1.c.this_is_the_primarykey_column)
275 )
276
277 self._assert_labeled_table1_select(s)
278
279 def test_result_map_limit(self):
280 table1 = self.table1

Callers

nothing calls this directly

Calls 4

order_byMethod · 0.45
set_label_styleMethod · 0.45
selectMethod · 0.45

Tested by

no test coverage detected