(self, async_session, filter_)
| 214 | ) |
| 215 | @async_test |
| 216 | async def test_scalars(self, async_session, filter_): |
| 217 | User = self.classes.User |
| 218 | |
| 219 | stmt = ( |
| 220 | select(User) |
| 221 | .options(selectinload(User.addresses)) |
| 222 | .order_by(User.id) |
| 223 | ) |
| 224 | |
| 225 | if filter_ == "scalars": |
| 226 | result = (await async_session.scalars(stmt)).all() |
| 227 | elif filter_ == "stream_scalars": |
| 228 | result = await (await async_session.stream_scalars(stmt)).all() |
| 229 | eq_(result, self.static.user_address_result) |
| 230 | |
| 231 | @async_test |
| 232 | async def test_get(self, async_session): |
nothing calls this directly
no test coverage detected