refactor: /freqaimodels to webserver section
This commit is contained in:
@@ -2655,6 +2655,8 @@ def test_list_hyperoptloss(botclient, tmp_path):
|
||||
def test_api_freqaimodels(botclient, tmp_path, mocker):
|
||||
ftbot, client = botclient
|
||||
ftbot.config["user_data_dir"] = tmp_path
|
||||
ftbot.config["runmode"] = RunMode.WEBSERVER
|
||||
|
||||
mocker.patch(
|
||||
"freqtrade.resolvers.freqaimodel_resolver.FreqaiModelResolver.search_all_objects",
|
||||
return_value=[
|
||||
|
||||
Reference in New Issue
Block a user