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

Method test_uq_name

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

Source from the content-addressed store, hash-verified

5953 eq_(uq.name, "uq_user_data")
5954
5955 def test_uq_name(self):
5956 u1 = self._fixture(
5957 naming_convention={"uq": "uq_%(table_name)s_%(column_0_name)s"}
5958 )
5959 uq = UniqueConstraint(u1.c.data)
5960 eq_(uq.name, "uq_user_data")
5961
5962 def test_uq_conv_name(self):
5963 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