MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / test_class_mapper

Method test_class_mapper

test/orm/test_inspect.py:42–45  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

40 inspect(cls.classes.User).add_property("name_syn", synonym("name"))
41
42 def test_class_mapper(self):
43 User = self.classes.User
44
45 assert inspect(User) is class_mapper(User)
46
47 def test_column_collection_iterate(self):
48 User = self.classes.User

Callers

nothing calls this directly

Calls 2

inspectFunction · 0.90
class_mapperFunction · 0.90

Tested by

no test coverage detected