MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / test_bind_base_table_base_class

Method test_bind_base_table_base_class

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

Source from the content-addressed store, hash-verified

730 return Session(binds=binds)
731
732 def test_bind_base_table_base_class(self):
733 base_class_bind = Mock()
734 session = self._fixture({self.tables.base_table: base_class_bind})
735
736 is_(session.get_bind(self.classes.BaseClass), base_class_bind)
737
738 def test_bind_base_table_joined_sub_class(self):
739 base_class_bind = Mock()

Callers

nothing calls this directly

Calls 3

_fixtureMethod · 0.95
is_Function · 0.90
get_bindMethod · 0.45

Tested by

no test coverage detected