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

Method test_lastrow_accessor_six

test/sql/test_insert_exec.py:355–374  ·  view source on GitHub ↗
(
        self, metadata, connection, implicit_returning
    )

Source from the content-addressed store, hash-verified

353 argnames="implicit_returning",
354 )
355 def test_lastrow_accessor_six(
356 self, metadata, connection, implicit_returning
357 ):
358 self._test_lastrow_accessor(
359 connection,
360 Table(
361 "t6",
362 metadata,
363 Column(
364 "id",
365 Integer,
366 primary_key=True,
367 test_needs_autoincrement=True,
368 ),
369 Column("bar", Integer, primary_key=True),
370 implicit_returning=implicit_returning,
371 ),
372 {"bar": 0},
373 {"id": 1, "bar": 0},
374 )
375
376 # TODO: why not in the sqlite suite?
377 @testing.only_on("sqlite+pysqlite")

Callers

nothing calls this directly

Calls 3

TableClass · 0.90
ColumnClass · 0.90

Tested by

no test coverage detected