MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / test_apply_map_quoted

Method test_apply_map_quoted

test/sql/test_quote.py:1000–1004  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

998 eq_(q1, None)
999
1000 def test_apply_map_quoted(self):
1001 q1 = _anonymous_label(quoted_name("x%s", True))
1002 q2 = q1.apply_map("bar")
1003 eq_(q2, "xbar")
1004 eq_(q2.quote, True)
1005
1006 def test_apply_map_plain(self):
1007 q1 = _anonymous_label(quoted_name("x%s", None))

Callers

nothing calls this directly

Calls 4

_anonymous_labelClass · 0.90
quoted_nameClass · 0.90
eq_Function · 0.90
apply_mapMethod · 0.45

Tested by

no test coverage detected