diff options
| author | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2026-04-01 16:24:30 +0900 |
|---|---|---|
| committer | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2026-04-01 16:24:30 +0900 |
| commit | 100aa624ad3f8ad466a95f9da8af30f31f77cc9c (patch) | |
| tree | ef81b9f37872ed462a1f84ea238a130f758782d2 /shared/tests/test_sa_models.py | |
| parent | 73eaf704584e5bf3c4499ccdd574af87304e1e5f (diff) | |
fix: resolve lint issues and final integration fixes
- Fix ambiguous variable name in binance_rest.py
- Remove unused volumes variable in volume_profile_strategy.py
- Fix import ordering in backtester main.py and test_metrics.py
- Auto-format all files with ruff
Diffstat (limited to 'shared/tests/test_sa_models.py')
| -rw-r--r-- | shared/tests/test_sa_models.py | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/shared/tests/test_sa_models.py b/shared/tests/test_sa_models.py index de994c5..67c3c82 100644 --- a/shared/tests/test_sa_models.py +++ b/shared/tests/test_sa_models.py @@ -1,6 +1,5 @@ """Tests for SQLAlchemy ORM models.""" -import pytest from sqlalchemy import inspect @@ -117,9 +116,7 @@ class TestOrderRow: from shared.sa_models import OrderRow table = OrderRow.__table__ - fk_cols = { - fk.parent.name: fk.target_fullname for fk in table.foreign_keys - } + fk_cols = {fk.parent.name: fk.target_fullname for fk in table.foreign_keys} assert fk_cols == {"signal_id": "signals.id"} @@ -157,9 +154,7 @@ class TestTradeRow: from shared.sa_models import TradeRow table = TradeRow.__table__ - fk_cols = { - fk.parent.name: fk.target_fullname for fk in table.foreign_keys - } + fk_cols = {fk.parent.name: fk.target_fullname for fk in table.foreign_keys} assert fk_cols == {"order_id": "orders.id"} |
