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

Method test_iendswith

test/sql/test_operators.py:4419–4427  ·  view source on GitHub ↗

case insensitive endswith method

(self)

Source from the content-addressed store, hash-verified

4417 )
4418
4419 def test_iendswith(self):
4420 """
4421 case insensitive endswith method
4422 """
4423 self.assert_compile(
4424 column("x").iendswith("y"),
4425 "lower(x) LIKE '%' || lower(:x_1)",
4426 checkparams={"x_1": "y"},
4427 )
4428
4429 def test_iendswith_pg(self):
4430 """

Callers

nothing calls this directly

Calls 3

columnFunction · 0.90
assert_compileMethod · 0.80
iendswithMethod · 0.45

Tested by

no test coverage detected