(self, connection)
| 1600 | eq_(list(row._mapping.keys()), ["user_id", "user_name_1", "count_1"]) |
| 1601 | |
| 1602 | def test_items(self, connection): |
| 1603 | users = self.tables.users |
| 1604 | |
| 1605 | connection.execute(users.insert(), dict(user_id=1, user_name="foo")) |
| 1606 | r = connection.execute(users.select()).first() |
| 1607 | eq_( |
| 1608 | [(x[0].lower(), x[1]) for x in list(r._mapping.items())], |
| 1609 | [("user_id", 1), ("user_name", "foo")], |
| 1610 | ) |
| 1611 | |
| 1612 | def test_len(self, connection): |
| 1613 | users = self.tables.users |