chore(quality): apply ruff autofixes and formatting (223 fixes, regression-free: 118/118 tests pass)
This commit is contained in:
@@ -37,6 +37,7 @@ async def test_update_deal_stage_creates_history(
|
||||
|
||||
# Verify DealStageHistory row exists in DB
|
||||
from sqlalchemy import text
|
||||
|
||||
async with session_factory() as session:
|
||||
result = await session.execute(
|
||||
text("SELECT to_stage FROM deal_stage_history WHERE deal_id = :did ORDER BY id"),
|
||||
@@ -74,6 +75,7 @@ async def test_db_write_deal(
|
||||
) -> None:
|
||||
"""DB roundtrip: read back a seeded deal directly via SQL."""
|
||||
from sqlalchemy import text
|
||||
|
||||
deal_id = seed_data["deal_ids"][2]
|
||||
async with session_factory() as session:
|
||||
result = await session.execute(
|
||||
|
||||
Reference in New Issue
Block a user