Skip to content

Commit 01e8398

Browse files
fix: remove unused db variable in exception context manager test
1 parent 937a38b commit 01e8398

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/tests/backend/common/database/test_database_base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -495,7 +495,7 @@ async def get_team_agent(self, team_id, agent_name): return None
495495
database = MockDatabase()
496496

497497
async def run_database_context():
498-
async with database as db:
498+
async with database:
499499
assert database.initialized is True
500500
# Raise an exception to test cleanup
501501
raise ValueError("Test exception")

0 commit comments

Comments
 (0)