(self, db)
| 206 | |
| 207 | @pytest.mark.asyncio |
| 208 | async def test_function(self, db): |
| 209 | obj1 = await self.model.create(chars=" aaa ") |
| 210 | await self.model.filter(eyedee=obj1.eyedee).update(chars=Trim("chars")) |
| 211 | obj2 = await self.model.get(eyedee=obj1.eyedee) |
| 212 | assert obj2.chars == "aaa" |
| 213 | |
| 214 | @pytest.mark.asyncio |
| 215 | async def test_aggregation_with_filter(self, db): |