MCPcopy Create free account
hub / github.com/zzzeek/sqlalchemy / _test_multi

Method _test_multi

test/sql/test_insert_exec.py:553–560  ·  view source on GitHub ↗
(self, connection, stmt, rows, data)

Source from the content-addressed store, hash-verified

551 eq_(connection.execute(table.select()).first(), row)
552
553 def _test_multi(self, connection, stmt, rows, data):
554 connection.execute(stmt, rows)
555 eq_(
556 connection.execute(
557 self.tables.foo.select().order_by(self.tables.foo.c.id)
558 ).all(),
559 data,
560 )
561
562 @testing.requires.sequences
563 def test_explicit_sequence(self, connection):

Callers 1

Calls 5

eq_Function · 0.90
executeMethod · 0.45
allMethod · 0.45
order_byMethod · 0.45
selectMethod · 0.45

Tested by

no test coverage detected