MCPcopy Create free account
hub / github.com/sqlalchemy/sqlalchemy / test_bind_selectable_table

Method test_bind_selectable_table

test/orm/test_bind.py:852–859  ·  view source on GitHub ↗
(self, two_table_fixture)

Source from the content-addressed store, hash-verified

850 return session, base_class_bind, concrete_sub_bind
851
852 def test_bind_selectable_table(self, two_table_fixture):
853 session, base_class_bind, concrete_sub_bind = two_table_fixture
854
855 is_(session.get_bind(clause=self.tables.base_table), base_class_bind)
856 is_(
857 session.get_bind(clause=self.tables.concrete_sub_table),
858 concrete_sub_bind,
859 )
860
861 def test_bind_selectable_join(self, two_table_fixture):
862 session, base_class_bind, concrete_sub_bind = two_table_fixture

Callers

nothing calls this directly

Calls 2

is_Function · 0.90
get_bindMethod · 0.45

Tested by

no test coverage detected