mirror of
https://github.com/freqtrade/freqtrade.git
synced 2025-11-29 08:33:07 +00:00
Fix RPC tests
This commit is contained in:
@@ -354,7 +354,6 @@ def test_rpc_delete_trade(mocker, default_conf, fee, markets, caplog, is_short):
|
|||||||
rpc._rpc_delete('200')
|
rpc._rpc_delete('200')
|
||||||
|
|
||||||
trades = Trade.session.scalars(select(Trade)).all()
|
trades = Trade.session.scalars(select(Trade)).all()
|
||||||
trades[2].stoploss_order_id = '102'
|
|
||||||
trades[2].orders.append(
|
trades[2].orders.append(
|
||||||
Order(
|
Order(
|
||||||
ft_order_side='stoploss',
|
ft_order_side='stoploss',
|
||||||
|
|||||||
Reference in New Issue
Block a user