MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / _assert_result

Method _assert_result

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

Source from the content-addressed store, hash-verified

743 __sparse_driver_backend__ = True
744
745 def _assert_result(self, select, result, params=None):
746 with config.db.connect() as conn:
747 eq_(conn.execute(select, params).fetchall(), result)
748
749 @classmethod
750 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