MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / test_root_registry

Method test_root_registry

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

Source from the content-addressed store, hash-verified

674 cls._setup_stock_mapping()
675
676 def test_root_registry(self):
677 umapper = inspect(self.classes.User)
678 is_(RootRegistry()[umapper], umapper._path_registry)
679 eq_(RootRegistry()[umapper], PathRegistry.coerce((umapper,)))
680
681 def test_expand(self):
682 umapper = inspect(self.classes.User)

Callers

nothing calls this directly

Calls 5

inspectFunction · 0.90
is_Function · 0.90
RootRegistryClass · 0.90
eq_Function · 0.90
coerceMethod · 0.45

Tested by

no test coverage detected