MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / test_configure_on_get_props_2

Method test_configure_on_get_props_2

test/orm/test_mapper.py:817–827  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

815 assert not m.configured
816
817 def test_configure_on_get_props_2(self):
818 User, users = self.classes.User, self.tables.users
819
820 m = self.mapper(User, users)
821 assert not m.configured
822 assert m.get_property("name")
823
824 # as of 2.0 #9220
825 # get_property() doesn't do "configure" now, there is
826 # no reason for this
827 assert not m.configured
828
829 def test_configure_on_get_props_3(self):
830 users, Address, addresses, User = (

Callers

nothing calls this directly

Calls 2

get_propertyMethod · 0.80
mapperMethod · 0.45

Tested by

no test coverage detected