mirror of
https://github.com/freqtrade/freqtrade.git
synced 2026-03-04 21:03:31 +00:00
chore: fix RUF059 violations
This commit is contained in:
@@ -534,7 +534,7 @@ def test_api_reloadconf(botclient):
|
||||
|
||||
|
||||
def test_api_pause(botclient):
|
||||
ftbot, client = botclient
|
||||
_ftbot, client = botclient
|
||||
|
||||
rc = client_post(client, f"{BASE_URI}/pause")
|
||||
assert_response(rc)
|
||||
@@ -3281,7 +3281,7 @@ def test_api_download_data(botclient, mocker, tmp_path):
|
||||
|
||||
|
||||
def test_api_markets_live(botclient):
|
||||
ftbot, client = botclient
|
||||
_ftbot, client = botclient
|
||||
|
||||
rc = client_get(client, f"{BASE_URI}/markets")
|
||||
assert_response(rc, 200)
|
||||
|
||||
@@ -984,7 +984,7 @@ async def test_telegram_profit_long_short_handle(
|
||||
|
||||
mocker.patch("freqtrade.rpc.rpc.CryptoToFiatConverter._find_price", return_value=1.1)
|
||||
mocker.patch.multiple(EXMS, fetch_ticker=ticker_usdt, get_fee=fee)
|
||||
telegram, freqtradebot, msg_mock = get_telegram_testobject(mocker, default_conf_usdt)
|
||||
telegram, _freqtradebot, msg_mock = get_telegram_testobject(mocker, default_conf_usdt)
|
||||
|
||||
# When there are no trades
|
||||
await telegram._profit_long(update=update, context=MagicMock())
|
||||
|
||||
Reference in New Issue
Block a user