MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / test_implicit_pk

Method test_implicit_pk

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

Source from the content-addressed store, hash-verified

672 @testing.fails_if(testing.requires.sequences)
673 @testing.requires.emulated_lastrowid
674 def test_implicit_pk(self, connection):
675 t = self._fixture()
676 self._test(
677 connection,
678 t.insert().values(data="data", x=5),
679 (testing.db.dialect.default_sequence_base, "data", 5),
680 inserted_primary_key=(),
681 )
682
683 @testing.fails_if(testing.requires.sequences)
684 @testing.requires.emulated_lastrowid

Callers

nothing calls this directly

Calls 4

_fixtureMethod · 0.95
_testMethod · 0.95
valuesMethod · 0.45
insertMethod · 0.45

Tested by

no test coverage detected