MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / test_name_denormalize

Method test_name_denormalize

test/sql/test_quote.py:1061–1069  ·  view source on GitHub ↗
(self, original, denormalized, is_quote)

Source from the content-addressed store, hash-verified

1059 (quoted_name("name", quote=True), "name", True),
1060 )
1061 def test_name_denormalize(self, original, denormalized, is_quote):
1062 orig_denorm = self.dialect.denormalize_name(original)
1063
1064 eq_(orig_denorm, denormalized)
1065
1066 if is_quote:
1067 is_(orig_denorm.quote, True)
1068 else:
1069 assert not isinstance(orig_denorm, quoted_name)

Callers

nothing calls this directly

Calls 3

eq_Function · 0.90
is_Function · 0.90
denormalize_nameMethod · 0.45

Tested by

no test coverage detected