From 36f2bef6b8bc25e18c35e1fd74e3399b74d9e90d Mon Sep 17 00:00:00 2001 From: Matthias Date: Sat, 16 Aug 2025 15:50:22 +0200 Subject: [PATCH] test: update test for split backtest-show reality --- tests/commands/test_commands.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/commands/test_commands.py b/tests/commands/test_commands.py index 85e42c11d..2dde29c0d 100644 --- a/tests/commands/test_commands.py +++ b/tests/commands/test_commands.py @@ -1862,8 +1862,10 @@ def test_backtesting_show(mocker, testdatadir, capsys): sbr = mocker.patch("freqtrade.optimize.optimize_reports.show_backtest_results") args = [ "backtesting-show", + "--export-directory", + f"{testdatadir / 'backtest_results'}", "--export-filename", - f"{testdatadir / 'backtest_results/backtest-result.json'}", + "backtest-result.json", "--show-pair-list", ] pargs = get_args(args)