MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / test_name_normalize

Method test_name_normalize

test/sql/test_quote.py:1045–1052  ·  view source on GitHub ↗
(self, original, normalized, is_quote)

Source from the content-addressed store, hash-verified

1043 ("name", "name", True), # an all-lower case name needs quote forced
1044 )
1045 def test_name_normalize(self, original, normalized, is_quote):
1046 orig_norm = self.dialect.normalize_name(original)
1047
1048 eq_(orig_norm, normalized)
1049 if is_quote:
1050 is_(orig_norm.quote, True)
1051 else:
1052 assert not isinstance(orig_norm, quoted_name)
1053
1054 @testing.combinations(
1055 ("name", "NAME", False),

Callers

nothing calls this directly

Calls 3

eq_Function · 0.90
is_Function · 0.90
normalize_nameMethod · 0.45

Tested by

no test coverage detected