chore: clarify --export-filename Deprecation messages

part of #12846
This commit is contained in:
Matthias
2026-02-21 20:20:14 +01:00
parent a417af1ff0
commit ce590cced7
2 changed files with 18 additions and 8 deletions

View File

@@ -221,6 +221,9 @@ def test_setup_bt_configuration_with_arguments(mocker, default_conf, caplog) ->
assert "exportfilename" in config
assert isinstance(config["exportfilename"], Path)
assert log_has("Storing backtest results to {} ...".format(config["exportfilename"]), caplog)
assert log_has_re(
"DEPRECATED: Using `--export-filename` has no impact when backtesting.*", caplog
)
assert "fee" in config
assert log_has("Parameter --fee detected, setting fee to: {} ...".format(config["fee"]), caplog)