(self, connection)
| 198 | rows[0].user_id |
| 199 | |
| 200 | def test_keys_no_rows(self, connection): |
| 201 | for i in range(2): |
| 202 | r = connection.execute( |
| 203 | text("update users set user_name='new' where user_id=10") |
| 204 | ) |
| 205 | |
| 206 | with expect_raises_message( |
| 207 | exc.ResourceClosedError, |
| 208 | "This result object does not return rows", |
| 209 | ): |
| 210 | r.keys() |
| 211 | |
| 212 | def test_row_keys_removed(self, connection): |
| 213 | r = connection.execute( |
nothing calls this directly
no test coverage detected