MCPcopy Index your code
hub / github.com/sqlalchemy/sqlalchemy / test_same_named_col_clauselist

Method test_same_named_col_clauselist

test/orm/test_bundle.py:122–127  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

120 )
121
122 def test_same_named_col_clauselist(self):
123 Data, Other = self.classes("Data", "Other")
124 bundle = Bundle("pk", Data.id, Other.id)
125
126 self.assert_compile(ClauseList(Data.id, Other.id), "data.id, other.id")
127 self.assert_compile(bundle.__clause_element__(), "data.id, other.id")
128
129 def test_dict_same_named_col_clauselist(self):
130 Data, Other = self.classes("Data", "Other")

Callers

nothing calls this directly

Calls 4

__clause_element__Method · 0.95
BundleClass · 0.90
ClauseListClass · 0.90
assert_compileMethod · 0.80

Tested by

no test coverage detected