MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / test_bind_selectable_table

Method test_bind_selectable_table

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

Source from the content-addressed store, hash-verified

856 return session, base_class_bind, concrete_sub_bind
857
858 def test_bind_selectable_table(self, two_table_fixture):
859 session, base_class_bind, concrete_sub_bind = two_table_fixture
860
861 is_(session.get_bind(clause=self.tables.base_table), base_class_bind)
862 is_(
863 session.get_bind(clause=self.tables.concrete_sub_table),
864 concrete_sub_bind,
865 )
866
867 def test_bind_selectable_join(self, two_table_fixture):
868 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