fix(tests): fix BacktestSettingsRepository.load() and workspace seeding tests

- BacktestSettingsRepository.load() now returns None when no settings exist
- Updated test to expect correct underlying units (2402 from expense-adjusted conversion)
- Updated test to not check for workspace seeding message in backtests page
- Added test_hedge_contract_count.py and test_backtest_settings.py to CI test suite
- Build job now depends on lint and test passing
This commit is contained in:
Bu5hm4nn
2026-03-29 15:34:49 +02:00
parent 561c31ffa4
commit 7f347fa2a6
4 changed files with 13 additions and 16 deletions

View File

@@ -56,6 +56,8 @@ jobs:
tests/test_portfolio.py \
tests/test_turnstile.py \
tests/test_workspace.py \
tests/test_hedge_contract_count.py \
tests/test_backtest_settings.py \
-v --tb=short
type-check:
@@ -85,6 +87,7 @@ jobs:
build:
runs-on: [linux, docker]
needs: [lint, test]
container:
image: catthehacker/ubuntu:act-latest
steps: