Update test_exchange.py

This commit is contained in:
மனோஜ்குமார் பழனிச்சாமி 2022-03-19 17:22:01 +05:30 committed by GitHub
parent 9fc0f8797d
commit 83d62d84b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2055,8 +2055,9 @@ def test_get_sell_rate_orderbook_exception(default_conf, mocker, caplog):
exchange = get_patched_exchange(mocker, default_conf)
with pytest.raises(PricingError):
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\..*",
caplog)
assert log_has_re(
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):