Adjust test, since rpc_message is now called on buy and sel

This commit is contained in:
Matthias 2019-03-12 21:50:57 +01:00
parent 11cc33a982
commit 9054165e8a
1 changed files with 1 additions and 1 deletions

View File

@ -2105,7 +2105,7 @@ def test_may_execute_sell_after_stoploss_on_exchange_hit(default_conf,
assert trade.is_open is False
print(trade.sell_reason)
assert trade.sell_reason == SellType.STOPLOSS_ON_EXCHANGE.value
assert rpc_mock.call_count == 1
assert rpc_mock.call_count == 2
def test_execute_sell_without_conf_sell_up(default_conf, ticker, fee,