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

Method test_lastrow_accessor_three

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

Source from the content-addressed store, hash-verified

252 argnames="implicit_returning",
253 )
254 def test_lastrow_accessor_three(
255 self, metadata, connection, implicit_returning
256 ):
257 self._test_lastrow_accessor(
258 connection,
259 Table(
260 "t3",
261 metadata,
262 Column("id", String(40), primary_key=True),
263 Column("foo", String(30), primary_key=True),
264 Column("bar", String(30)),
265 implicit_returning=implicit_returning,
266 ),
267 {"id": "hi", "foo": "thisisfoo", "bar": "thisisbar"},
268 {"id": "hi", "foo": "thisisfoo", "bar": "thisisbar"},
269 )
270
271 @testing.requires.sequences
272 @testing.combinations(

Callers

nothing calls this directly

Calls 4

TableClass · 0.90
ColumnClass · 0.90
StringClass · 0.90

Tested by

no test coverage detected