test: fix a couple tsts ...

This commit is contained in:
Matthias
2026-04-04 12:12:11 +02:00
parent f99ccc5e3d
commit dec3c3e13b
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -3332,7 +3332,7 @@ def test_api_backtest_wallets(botclient, tmp_path: Path):
"2018-01-01T00:05:00Z",
],
"currency": ["ETH", "BTC", "ETH", "BTC"],
"price": [2000, 60_000, 2001, 60_001],
"rate": [2000, 60_000, 2001, 60_001],
"balance": [0.5, 0.25, 0.5, 0.25],
}
)
@@ -3357,7 +3357,7 @@ def test_api_backtest_wallets(botclient, tmp_path: Path):
assert_response(rc, 200)
result = rc.json()
assert result["length"] == 2
assert result["columns"] == ["date", "__date_ts", "total"]
assert result["columns"] == ["date", "__date_ts", "total_quote"]
assert result["data"] == [
["2018-01-01T00:00:00Z", 1514764800000, 16000.0],
["2018-01-01T00:05:00Z", 1514765100000, 16000.75],