MCPcopy Create free account
hub / github.com/sqlalchemy/sqlalchemy / test_uq_name

Method test_uq_name

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

Source from the content-addressed store, hash-verified

5745 eq_(uq.name, "uq_user_data")
5746
5747 def test_uq_name(self):
5748 u1 = self._fixture(
5749 naming_convention={"uq": "uq_%(table_name)s_%(column_0_name)s"}
5750 )
5751 uq = UniqueConstraint(u1.c.data)
5752 eq_(uq.name, "uq_user_data")
5753
5754 def test_uq_conv_name(self):
5755 u1 = self._fixture(

Callers

nothing calls this directly

Calls 3

_fixtureMethod · 0.95
UniqueConstraintClass · 0.90
eq_Function · 0.90

Tested by

no test coverage detected