MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / test_primarykey_constraint_info

Method test_primarykey_constraint_info

test/sql/test_metadata.py:1810–1815  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1808 eq_(fkc.info, {"foo": "bar"})
1809
1810 def test_primarykey_constraint_info(self):
1811 pkc = PrimaryKeyConstraint("a", name="x")
1812 eq_(pkc.info, {})
1813
1814 pkc = PrimaryKeyConstraint("a", name="x", info={"foo": "bar"})
1815 eq_(pkc.info, {"foo": "bar"})
1816
1817 def test_unique_constraint_info(self):
1818 uc = UniqueConstraint("a", name="x")

Callers

nothing calls this directly

Calls 2

eq_Function · 0.90

Tested by

no test coverage detected