Test for handling closed trade adjusted

This commit is contained in:
hroff-1902 2019-10-02 19:08:49 +03:00
parent 89729aefe8
commit 4b29c4cdbf
1 changed files with 1 additions and 1 deletions

View File

@ -1915,7 +1915,7 @@ def test_close_trade(default_conf, ticker, limit_buy_order, limit_sell_order,
trade.update(limit_sell_order)
assert trade.is_open is False
with pytest.raises(ValueError, match=r'.*closed trade.*'):
with pytest.raises(DependencyException, match=r'.*closed trade.*'):
freqtrade.handle_trade(trade)