feat: apply rel-001 feedback cleanup

This commit is contained in:
2026-06-05 13:57:46 +09:00
parent 84de34c301
commit 2470c0a00c
28 changed files with 992 additions and 32 deletions
+2 -2
View File
@@ -58,7 +58,7 @@ def _make_portfolio(
def _make_trade(**kwargs) -> LedgerTrade:
defaults = dict(
ledger_entry_id=1,
asset_id=_PORTFOLIO_ID,
portfolio_id=_PORTFOLIO_ID,
order_id="ord-001",
execution_id="exec-001",
side="buy",
@@ -130,7 +130,7 @@ def test_ledger_trade_new() -> None:
assert resp.status_code == 201
body = resp.json()
assert body["status"] == "new"
assert body["asset_id"] == _PORTFOLIO_ID
assert body["portfolio_id"] == _PORTFOLIO_ID
# ---------------------------------------------------------------------------