From 3121206afe547ad9ead3267e0d33a456493c837c Mon Sep 17 00:00:00 2001 From: Matthias Date: Sat, 24 Aug 2019 15:35:43 +0200 Subject: [PATCH] correct wrongly named test --- freqtrade/tests/test_plotting.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/freqtrade/tests/test_plotting.py b/freqtrade/tests/test_plotting.py index cc9625e3f..df208d4d2 100644 --- a/freqtrade/tests/test_plotting.py +++ b/freqtrade/tests/test_plotting.py @@ -9,7 +9,7 @@ from plotly.subplots import make_subplots from freqtrade.configuration import TimeRange from freqtrade.data import history from freqtrade.data.btanalysis import create_cum_profit, load_backtest_data -from freqtrade.plot.plot_utils import start_plot_dataframe +from freqtrade.plot.plot_utils import start_plot_dataframe, start_plot_profit from freqtrade.plot.plotting import (add_indicators, add_profit, analyse_and_plot_pairs, generate_candlestick_graph, @@ -320,7 +320,7 @@ def test_analyse_and_plot_pairs(default_conf, mocker, caplog): assert log_has("End of plotting process. 2 plots generated", caplog) -def start_plot_profit(mocker): +def test_start_plot_profit(mocker): aup = mocker.patch("freqtrade.plot.plotting.plot_profit", MagicMock()) args = [ "--config", "config.json.example",