chore: improved log msg wording
This commit is contained in:
@@ -2431,7 +2431,7 @@ class FreqtradeBot(LoggingMixin):
|
|||||||
)
|
)
|
||||||
|
|
||||||
if len(trades) == 0:
|
if len(trades) == 0:
|
||||||
logger.info("Applying fee on amount for %s failed: myTrade-Dict empty found", trade)
|
logger.info("Applying fee on amount for %s failed: myTrade-dict empty found", trade)
|
||||||
return None
|
return None
|
||||||
fee_currency = None
|
fee_currency = None
|
||||||
amount = 0
|
amount = 0
|
||||||
|
|||||||
@@ -3845,7 +3845,7 @@ def test_get_real_amount_no_trade(default_conf_usdt, buy_order_fee, caplog, mock
|
|||||||
assert log_has(
|
assert log_has(
|
||||||
"Applying fee on amount for Trade(id=None, pair=LTC/ETH, amount=8.00000000, "
|
"Applying fee on amount for Trade(id=None, pair=LTC/ETH, amount=8.00000000, "
|
||||||
"is_short=False, leverage=1.0, open_rate=0.24544100, open_since=closed) failed: "
|
"is_short=False, leverage=1.0, open_rate=0.24544100, open_since=closed) failed: "
|
||||||
"myTrade-Dict empty found",
|
"myTrade-dict empty found",
|
||||||
caplog,
|
caplog,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user