MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / test_string_ops

Method test_string_ops

test/orm/dml/test_evaluator.py:217–227  ·  view source on GitHub ↗
(self, expr)

Source from the content-addressed store, hash-verified

215 lambda User: User.name.endswith("named"),
216 )
217 def test_string_ops(self, expr):
218 User = self.classes.User
219
220 test_expr = testing.resolve_lambda(expr, User=User)
221 eval_eq(
222 test_expr,
223 testcases=[
224 (User(name="named"), True),
225 (User(name="othername"), False),
226 ],
227 )
228
229 def test_in(self):
230 User = self.classes.User

Callers

nothing calls this directly

Calls 2

eval_eqFunction · 0.85
UserClass · 0.70

Tested by

no test coverage detected