MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / test_separate_key_in

Method test_separate_key_in

test/base/test_utils.py:992–1001  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

990 is_(cc.kcol2, c2)
991
992 def test_separate_key_in(self):
993 cc = self._column_collection(
994 columns=[
995 ("kcol1", sql.column("col1")),
996 ("kcol2", sql.column("col2")),
997 ("kcol3", sql.column("col3")),
998 ]
999 )
1000 assert "col1" not in cc
1001 assert "kcol2" in cc
1002
1003 def test_dupes_add(self):
1004 c1, c2a, c3, c2b = (

Callers

nothing calls this directly

Calls 2

_column_collectionMethod · 0.95
columnMethod · 0.45

Tested by

no test coverage detected