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

Method test_implicit_pk_multi_rows

test/sql/test_insert_exec.py:685–696  ·  view source on GitHub ↗
(self, connection)

Source from the content-addressed store, hash-verified

683 @testing.fails_if(testing.requires.sequences)
684 @testing.requires.emulated_lastrowid
685 def test_implicit_pk_multi_rows(self, connection):
686 t = self._fixture()
687 self._test_multi(
688 connection,
689 t.insert(),
690 [
691 {"data": "d1", "x": 5},
692 {"data": "d2", "x": 6},
693 {"data": "d3", "x": 7},
694 ],
695 [(1, "d1", 5), (2, "d2", 6), (3, "d3", 7)],
696 )
697
698 @testing.fails_if(testing.requires.sequences)
699 @testing.requires.emulated_lastrowid

Callers

nothing calls this directly

Calls 3

_fixtureMethod · 0.95
_test_multiMethod · 0.95
insertMethod · 0.45

Tested by

no test coverage detected