(
self, metadata, connection, implicit_returning
)
| 225 | argnames="implicit_returning", |
| 226 | ) |
| 227 | def test_lastrow_accessor_two( |
| 228 | self, metadata, connection, implicit_returning |
| 229 | ): |
| 230 | self._test_lastrow_accessor( |
| 231 | connection, |
| 232 | Table( |
| 233 | "t2", |
| 234 | metadata, |
| 235 | Column( |
| 236 | "id", |
| 237 | Integer, |
| 238 | primary_key=True, |
| 239 | test_needs_autoincrement=True, |
| 240 | ), |
| 241 | Column("foo", String(30), primary_key=True), |
| 242 | Column("bar", String(30), server_default="hi"), |
| 243 | implicit_returning=implicit_returning, |
| 244 | ), |
| 245 | {"foo": "hi"}, |
| 246 | {"id": 1, "foo": "hi", "bar": "hi"}, |
| 247 | ) |
| 248 | |
| 249 | @testing.combinations( |
| 250 | (True, testing.requires.insert_returning), |
nothing calls this directly
no test coverage detected