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

Method test_iendswith

test/sql/test_operators.py:4225–4233  ·  view source on GitHub ↗

case insensitive endswith method

(self)

Source from the content-addressed store, hash-verified

4223 )
4224
4225 def test_iendswith(self):
4226 """
4227 case insensitive endswith method
4228 """
4229 self.assert_compile(
4230 column("x").iendswith("y"),
4231 "lower(x) LIKE '%' || lower(:x_1)",
4232 checkparams={"x_1": "y"},
4233 )
4234
4235 def test_iendswith_pg(self):
4236 """

Callers

nothing calls this directly

Calls 3

columnFunction · 0.90
assert_compileMethod · 0.80
iendswithMethod · 0.45

Tested by

no test coverage detected