Strategies should be a nested object

This commit is contained in:
Matthias
2020-08-01 17:12:32 +02:00
parent 32e6ea314c
commit 6a59740f83
2 changed files with 6 additions and 2 deletions

View File

@@ -877,4 +877,4 @@ def test_api_strategies(botclient):
rc = client_get(client, f"{BASE_URI}/strategies")
assert_response(rc)
assert rc.json == ['DefaultStrategy', 'TestStrategyLegacy']
assert rc.json == {'strategies': ['DefaultStrategy', 'TestStrategyLegacy']}