Avoid online call when asking for /status.

This commit is contained in:
Matthias
2022-09-28 06:47:46 +02:00
parent a06372c7b2
commit 7c84edbc23
2 changed files with 4 additions and 5 deletions

View File

@@ -45,7 +45,6 @@ def test_rpc_trade_status(default_conf, ticker, fee, mocker) -> None:
freqtradebot.enter_positions()
trades = Trade.get_open_trades()
trades[0].open_order_id = None
freqtradebot.exit_positions(trades)
results = rpc._rpc_trade_status()