Add forgotten directory
This commit is contained in:
parent
c3d14ab9b9
commit
5d22d541f2
@ -211,7 +211,7 @@ def test_generate_plot_file(mocker, caplog):
|
|||||||
fig = generage_empty_figure()
|
fig = generage_empty_figure()
|
||||||
plot_mock = mocker.patch("freqtrade.plot.plotting.plot", MagicMock())
|
plot_mock = mocker.patch("freqtrade.plot.plotting.plot", MagicMock())
|
||||||
store_plot_file(fig, filename="freqtrade-plot-UNITTEST_BTC-5m.html",
|
store_plot_file(fig, filename="freqtrade-plot-UNITTEST_BTC-5m.html",
|
||||||
folder=Path("user_data/plots"))
|
directory=Path("user_data/plots"))
|
||||||
|
|
||||||
assert plot_mock.call_count == 1
|
assert plot_mock.call_count == 1
|
||||||
assert plot_mock.call_args[0][0] == fig
|
assert plot_mock.call_args[0][0] == fig
|
||||||
|
Loading…
Reference in New Issue
Block a user