fixed rpc_apiserver test fails, changed test_persistence_long to test_persistence_leverage
This commit is contained in:
parent
0d5749c508
commit
c5ce8c6dd8
@ -215,6 +215,8 @@ def create_mock_trades(fee, use_db: bool = True):
|
|||||||
add_trade(trade)
|
add_trade(trade)
|
||||||
trade = mock_trade_6(fee)
|
trade = mock_trade_6(fee)
|
||||||
add_trade(trade)
|
add_trade(trade)
|
||||||
|
if use_db:
|
||||||
|
Trade.query.session.flush()
|
||||||
|
|
||||||
|
|
||||||
def create_mock_trades_with_leverage(fee, use_db: bool = True):
|
def create_mock_trades_with_leverage(fee, use_db: bool = True):
|
||||||
|
Loading…
Reference in New Issue
Block a user