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

Method test_case

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

Source from the content-addressed store, hash-verified

6298 self._do_test(s)
6299
6300 def test_case(self):
6301 c = case((self.criterion, self.column), else_=self.column)
6302 self._do_test(c)
6303
6304 def test_cast(self):
6305 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