test: update test for new error message

This commit is contained in:
Matthias
2026-02-24 21:12:00 +01:00
parent 3a6311b7fc
commit 523a9d644b

View File

@@ -3078,7 +3078,7 @@ def test_api_backtesting(botclient, mocker, fee, caplog, tmp_path):
# Disallow base64 strategies
data["strategy"] = "xx:cHJpbnQoImhlbGxvIHdvcmxkIik="
rc = client_post(client, f"{BASE_URI}/backtest", data=data)
assert_response(rc, 500)
assert_response(rc, 422)
finally:
Backtesting.cleanup()