get fees for both sides in one request

Co-Authored-By: மனோஜ்குமார் பழனிச்சாமி <smartmanoj42857@gmail.com>
This commit is contained in:
Kavinkumar
2022-03-19 14:40:16 +05:30
parent 13ff413e4f
commit 127fba021b
4 changed files with 38 additions and 12 deletions

View File

@@ -2055,7 +2055,7 @@ 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(r"Sell Price at location 1 from orderbook could not be determined\..*",
assert log_has_re(rf"{pair} - Sell Price at location 1 from orderbook could not be determined\..*",
caplog)