Remove .json from backtesting output

This commit is contained in:
Matthias
2023-07-25 20:38:49 +02:00
parent 997b80fd7b
commit 8b2abf4422
3 changed files with 5 additions and 4 deletions

View File

@@ -2000,7 +2000,7 @@ def test_api_backtest_history(botclient, mocker, testdatadir):
result = rc.json()
assert len(result) == 3
fn = result[0]['filename']
assert fn == "backtest-result_multistrat.json"
assert fn == "backtest-result_multistrat"
strategy = result[0]['strategy']
rc = client_get(client, f"{BASE_URI}/backtest/history/result?filename={fn}&strategy={strategy}")
assert_response(rc)