Skip to content

Commit b487ef9

Browse files
committed
fix: remove fixture cleanup
1 parent cc06efe commit b487ef9

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

tests/fixtures/entities.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -569,7 +569,4 @@ async def age_rating_g(async_session: AsyncSession):
569569
async_session.add(age_rating)
570570
await async_session.commit()
571571

572-
yield age_rating
573-
574-
await async_session.delete(age_rating)
575-
await async_session.commit()
572+
return age_rating

0 commit comments

Comments
 (0)