Plotting should use startup_candles too

closes #3943
This commit is contained in:
Matthias
2020-11-14 09:28:00 +01:00
parent 164105acf2
commit 05f0cc787c
2 changed files with 16 additions and 5 deletions

View File

@@ -51,9 +51,10 @@ def test_init_plotscript(default_conf, mocker, testdatadir):
assert "ohlcv" in ret
assert "trades" in ret
assert "pairs" in ret
assert 'timerange' in ret
default_conf['pairs'] = ["TRX/BTC", "ADA/BTC"]
ret = init_plotscript(default_conf)
ret = init_plotscript(default_conf, 20)
assert "ohlcv" in ret
assert "TRX/BTC" in ret["ohlcv"]
assert "ADA/BTC" in ret["ohlcv"]