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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user