MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / test_property

Method test_property

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

Source from the content-addressed store, hash-verified

131 )
132
133 def test_property(self):
134 User = self.classes.User
135 insp = inspect(User)
136 is_(insp.attrs.id, class_mapper(User).get_property("id"))
137
138 def test_with_polymorphic(self):
139 User = self.classes.User

Callers

nothing calls this directly

Calls 4

inspectFunction · 0.90
is_Function · 0.90
class_mapperFunction · 0.90
get_propertyMethod · 0.80

Tested by

no test coverage detected