Print plot filename so it can be easily opened

This commit is contained in:
Matthias
2019-08-04 10:25:46 +02:00
parent 62262d0bb5
commit e4380b533b
2 changed files with 5 additions and 2 deletions

View File

@@ -215,6 +215,8 @@ def test_generate_plot_file(mocker, caplog):
assert plot_mock.call_args[0][0] == fig
assert (plot_mock.call_args_list[0][1]['filename']
== "user_data/plots/freqtrade-plot-UNITTEST_BTC-5m.html")
assert log_has("Stored plot as user_data/plots/freqtrade-plot-UNITTEST_BTC-5m.html",
caplog.record_tuples)
def test_add_profit():