MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / test_case

Method test_case

test/sql/test_compiler.py:6506–6508  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

6504 self._do_test(s)
6505
6506 def test_case(self):
6507 c = case((self.criterion, self.column), else_=self.column)
6508 self._do_test(c)
6509
6510 def test_cast(self):
6511 c = cast(self.column, Integer)

Callers

nothing calls this directly

Calls 2

_do_testMethod · 0.95
caseFunction · 0.90

Tested by

no test coverage detected