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

Method _assert_result

lib/sqlalchemy/testing/suite/test_select.py:739–741  ·  view source on GitHub ↗
(self, select, result, params=())

Source from the content-addressed store, hash-verified

737 __sparse_driver_backend__ = True
738
739 def _assert_result(self, select, result, params=()):
740 with config.db.connect() as conn:
741 eq_(conn.execute(select, params).fetchall(), result)
742
743 @classmethod
744 def define_tables(cls, metadata):

Callers 5

test_inner_join_fkMethod · 0.95
test_inner_join_trueMethod · 0.95
test_inner_join_falseMethod · 0.95
test_outer_join_falseMethod · 0.95
test_outer_join_fkMethod · 0.95

Calls 4

eq_Function · 0.85
connectMethod · 0.45
fetchallMethod · 0.45
executeMethod · 0.45

Tested by

no test coverage detected