MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / test_apply_map_plain

Method test_apply_map_plain

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

Source from the content-addressed store, hash-verified

1004 eq_(q2.quote, True)
1005
1006 def test_apply_map_plain(self):
1007 q1 = _anonymous_label(quoted_name("x%s", None))
1008 q2 = q1.apply_map("bar")
1009 eq_(q2, "xbar")
1010 self._assert_not_quoted(q2)
1011
1012 def test_pickle_quote(self):
1013 q1 = quoted_name("x", True)

Callers

nothing calls this directly

Calls 5

_assert_not_quotedMethod · 0.95
_anonymous_labelClass · 0.90
quoted_nameClass · 0.90
eq_Function · 0.90
apply_mapMethod · 0.45

Tested by

no test coverage detected