test: update test for new error message
This commit is contained in:
@@ -3078,7 +3078,7 @@ def test_api_backtesting(botclient, mocker, fee, caplog, tmp_path):
|
|||||||
# Disallow base64 strategies
|
# Disallow base64 strategies
|
||||||
data["strategy"] = "xx:cHJpbnQoImhlbGxvIHdvcmxkIik="
|
data["strategy"] = "xx:cHJpbnQoImhlbGxvIHdvcmxkIik="
|
||||||
rc = client_post(client, f"{BASE_URI}/backtest", data=data)
|
rc = client_post(client, f"{BASE_URI}/backtest", data=data)
|
||||||
assert_response(rc, 500)
|
assert_response(rc, 422)
|
||||||
finally:
|
finally:
|
||||||
Backtesting.cleanup()
|
Backtesting.cleanup()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user