Update test_exchange.py
This commit is contained in:
parent
9fc0f8797d
commit
83d62d84b3
@ -2055,8 +2055,9 @@ def test_get_sell_rate_orderbook_exception(default_conf, mocker, caplog):
|
|||||||
exchange = get_patched_exchange(mocker, default_conf)
|
exchange = get_patched_exchange(mocker, default_conf)
|
||||||
with pytest.raises(PricingError):
|
with pytest.raises(PricingError):
|
||||||
exchange.get_rate(pair, refresh=True, side="sell")
|
exchange.get_rate(pair, refresh=True, side="sell")
|
||||||
assert log_has_re(rf"{pair} - Sell Price at location 1 from orderbook could not be determined\..*",
|
assert log_has_re(
|
||||||
caplog)
|
rf"{pair} - Sell Price at location 1 from orderbook "
|
||||||
|
rf"could not be determined\..*", caplog)
|
||||||
|
|
||||||
|
|
||||||
def test_get_sell_rate_exception(default_conf, mocker, caplog):
|
def test_get_sell_rate_exception(default_conf, mocker, caplog):
|
||||||
|
Loading…
Reference in New Issue
Block a user