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

Method test_iendswith_pg

test/sql/test_operators.py:4429–4438  ·  view source on GitHub ↗

case insensitive endswith method

(self)

Source from the content-addressed store, hash-verified

4427 )
4428
4429 def test_iendswith_pg(self):
4430 """
4431 case insensitive endswith method
4432 """
4433 self.assert_compile(
4434 column("x").iendswith("y"),
4435 "x ILIKE '%%' || %(x_1)s::VARCHAR",
4436 checkparams={"x_1": "y"},
4437 dialect="postgresql",
4438 )
4439
4440 def test_not_iendswith(self):
4441 """

Callers

nothing calls this directly

Calls 3

columnFunction · 0.90
assert_compileMethod · 0.80
iendswithMethod · 0.45

Tested by

no test coverage detected