mirror of
https://github.com/freqtrade/freqtrade.git
synced 2025-12-03 18:43:04 +00:00
plot-profit: Make "auto-open" HTML result optional
Adding an "--auto-open" argument. This improves tool processing of the results, while still allowing to open the HTML file for easy use.
This commit is contained in:
@@ -460,7 +460,7 @@ def test_plot_profit(default_conf, mocker, testdatadir):
|
||||
assert store_mock.call_count == 1
|
||||
|
||||
assert profit_mock.call_args_list[0][0][0] == default_conf['pairs']
|
||||
assert store_mock.call_args_list[0][1]['auto_open'] is True
|
||||
assert store_mock.call_args_list[0][1]['auto_open'] is False
|
||||
|
||||
|
||||
@pytest.mark.parametrize("ind1,ind2,plot_conf,exp", [
|
||||
|
||||
Reference in New Issue
Block a user