MCPcopy Create free account
hub / github.com/zzzeek/sqlalchemy / test_bind_base_class_joined_sub_class

Method test_bind_base_class_joined_sub_class

test/orm/test_bind.py:806–810  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

804 is_(session.get_bind(self.classes.ClassWMixin), base_class_bind)
805
806 def test_bind_base_class_joined_sub_class(self):
807 base_class_bind = Mock()
808 session = self._fixture({self.classes.BaseClass: base_class_bind})
809
810 is_(session.get_bind(self.classes.JoinedSubClass), base_class_bind)
811
812 def test_bind_joined_sub_class_joined_sub_class(self):
813 base_class_bind = Mock(name="base")

Callers

nothing calls this directly

Calls 3

_fixtureMethod · 0.95
is_Function · 0.90
get_bindMethod · 0.45

Tested by

no test coverage detected