MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / test_key_boolean

Method test_key_boolean

test/orm/test_utils.py:705–708  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

703 is_(bool(path), True)
704
705 def test_key_boolean(self):
706 umapper = inspect(self.classes.User)
707 path = PathRegistry.coerce((umapper, umapper.attrs.addresses))
708 is_(bool(path), True)
709
710 def test_aliased_class(self):
711 User = self.classes.User

Callers

nothing calls this directly

Calls 3

inspectFunction · 0.90
is_Function · 0.90
coerceMethod · 0.45

Tested by

no test coverage detected