mirror of
https://github.com/freqtrade/freqtrade.git
synced 2026-02-14 02:01:02 +00:00
test: update test for new response code
This commit is contained in:
@@ -2602,7 +2602,7 @@ def test_api_strategy(botclient, tmp_path, mocker):
|
||||
|
||||
# Disallow base64 strategies
|
||||
rc = client_get(client, f"{BASE_URI}/strategy/xx:cHJpbnQoImhlbGxvIHdvcmxkIik=")
|
||||
assert_response(rc, 500)
|
||||
assert_response(rc, 422)
|
||||
mocker.patch(
|
||||
"freqtrade.resolvers.strategy_resolver.StrategyResolver._load_strategy",
|
||||
side_effect=Exception("Test"),
|
||||
|
||||
Reference in New Issue
Block a user