Skip to content

Commit c1fe78a

Browse files
committed
fix: remove transaction commit from multiple SO tags test
Remove commit() call that closes transaction prematurely. Flush() provides sufficient visibility for verification queries within the same transaction context. Fixes test: TestFullGuildLifecycleWithAllConfigs::test_guild_with_multiple_sotags_and_users
1 parent 0e22872 commit c1fe78a

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

tests/integration/test_api_endpoints.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,6 @@ async def test_guild_with_multiple_sotags_and_users(
332332
db_session.add(so_tag)
333333

334334
await db_session.flush()
335-
await db_session.commit()
336335

337336
# Verify all tags exist
338337
result = await db_session.execute(select(SOTagsConfig).where(SOTagsConfig.guild_id == 8888))

0 commit comments

Comments
 (0)