Avoid having test-result influence from user_data/

this avoids potential deprecation warnings (or even errors)
 caused by strategies in user_data/strategies
This commit is contained in:
Matthias
2024-04-25 10:42:55 +02:00
parent 96bb4db68e
commit ad12c98d10
3 changed files with 7 additions and 4 deletions
+2 -1
View File
@@ -1648,8 +1648,9 @@ def test_api_pair_history(botclient, mocker):
assert rc.json()['detail'] == ("No data for UNITTEST/BTC, 5m in 20200111-20200112 found.")
def test_api_plot_config(botclient, mocker):
def test_api_plot_config(botclient, mocker, tmp_path):
ftbot, client = botclient
ftbot.config['user_data_dir'] = tmp_path
rc = client_get(client, f"{BASE_URI}/plot_config")
assert_response(rc)