test: update mock to new pairlist location

This commit is contained in:
Matthias 2024-10-23 17:59:34 +02:00
parent 667d08d003
commit 11cef55c03

View File

@ -2355,9 +2355,7 @@ def test_api_pairlists_evaluate(botclient, tmp_path, mocker):
]
assert response["result"]["length"] == 2
# Patch __run_pairlists
plm = mocker.patch(
"freqtrade.rpc.api_server.api_background_tasks.__run_pairlist", return_value=None
)
plm = mocker.patch("freqtrade.rpc.api_server.api_pairlists.__run_pairlist", return_value=None)
body = {
"pairlists": [
{