(self, connection)
| 307 | eq_(len(rows), 3) |
| 308 | |
| 309 | def test_scalars(self, connection): |
| 310 | users = self.tables.users |
| 311 | |
| 312 | connection.execute( |
| 313 | users.insert(), |
| 314 | [ |
| 315 | {"user_id": 7, "user_name": "jack"}, |
| 316 | {"user_id": 8, "user_name": "ed"}, |
| 317 | {"user_id": 9, "user_name": "fred"}, |
| 318 | ], |
| 319 | ) |
| 320 | r = connection.scalars(users.select().order_by(users.c.user_id)) |
| 321 | eq_(r.all(), [7, 8, 9]) |
| 322 | |
| 323 | @expect_deprecated(".*is deprecated, Row now behaves like a tuple.*") |
| 324 | def test_result_tuples(self, connection): |