fix: remove tests for orderflow data missing of other runmodes

This commit is contained in:
Joe Schr 2024-09-11 16:50:27 +02:00
parent c9acb1466c
commit 439658fcf1

View File

@ -90,13 +90,6 @@ def test_historic_trades(mocker, default_conf, trades_history_df):
assert isinstance(data, DataFrame)
assert len(data) == len(trades_history_df)
# Random other runmode
default_conf["runmode"] = RunMode.UTIL_EXCHANGE
dp = DataProvider(default_conf, None)
data = dp.trades("UNITTEST/BTC", "5m")
assert isinstance(data, DataFrame)
assert len(data) == 0
def test_historic_ohlcv_dataformat(mocker, default_conf, ohlcv_history):
hdf5loadmock = MagicMock(return_value=ohlcv_history)