diff options
| author | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2026-04-02 09:50:47 +0900 |
|---|---|---|
| committer | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2026-04-02 09:50:47 +0900 |
| commit | c32ea21d0e29a0894fe94ecc4236145541bce3ab (patch) | |
| tree | b753768aa134f9e58dad8c457dc8d6e47b7813e3 /cli/tests/test_cli_backtest.py | |
| parent | b9d21e2e2f7ae096c2f8a01bb142a685683b5b90 (diff) | |
refactor: dead code cleanup
- Remove placeholder 'backtest report' command (no stored results)
- Connect walk-forward analysis to CLI: 'trading backtest walk-forward'
- Update test for renamed command
Diffstat (limited to 'cli/tests/test_cli_backtest.py')
| -rw-r--r-- | cli/tests/test_cli_backtest.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/cli/tests/test_cli_backtest.py b/cli/tests/test_cli_backtest.py index 80f516c..adf19d3 100644 --- a/cli/tests/test_cli_backtest.py +++ b/cli/tests/test_cli_backtest.py @@ -13,8 +13,9 @@ def test_backtest_run_help(): assert "--balance" in result.output -def test_backtest_report_help(): +def test_backtest_walk_forward_help(): runner = CliRunner() - result = runner.invoke(cli, ["backtest", "report", "--help"]) + result = runner.invoke(cli, ["backtest", "walk-forward", "--help"]) assert result.exit_code == 0 - assert "--id" in result.output + assert "--strategy" in result.output + assert "--windows" in result.output |
