MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / test_checkfirst_from_bool

Method test_checkfirst_from_bool

test/sql/test_ddlemit.py:668–672  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

666 is_(bool(m), True)
667
668 def test_checkfirst_from_bool(self):
669 eq_(CheckFirst(True), CheckFirst.ALL)
670 eq_(CheckFirst(False), CheckFirst.NONE)
671 eq_(CheckFirst(0), CheckFirst.NONE)
672 eq_(CheckFirst(False), CheckFirst.NONE)

Callers

nothing calls this directly

Calls 2

eq_Function · 0.90
CheckFirstClass · 0.90

Tested by

no test coverage detected