test: fix krakenfutures tests

This commit is contained in:
Matthias
2026-03-18 20:05:58 +01:00
parent 200b9da2a2
commit bd9697e6be
2 changed files with 4 additions and 5 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ from unittest.mock import MagicMock, PropertyMock
import ccxt import ccxt
import pytest import pytest
from freqtrade.enums import CandleType, MarginMode, TradingMode from freqtrade.enums import MarginMode, TradingMode
from freqtrade.exceptions import ( from freqtrade.exceptions import (
DDosProtection, DDosProtection,
ExchangeError, ExchangeError,
+3 -4
View File
@@ -597,10 +597,9 @@ EXCHANGES: dict[str, TestExchangeOnlineSetup] = {
"id": "a11a8dc2-0440-4fe1-5212-1bx15c8f1c8e", "id": "a11a8dc2-0440-4fe1-5212-1bx15c8f1c8e",
"timestamp": 1771354195241, "timestamp": 1771354195241,
"datetime": "2026-02-17T18:49:55.241Z", "datetime": "2026-02-17T18:49:55.241Z",
"price": 67164.0, "price": None,
# Average should be None (it's not correct for market orders), but we have a # Average should be None (it's not correct for market orders)
# workaround for this in place. "average": None,
"average": 67164.0,
"status": "closed", "status": "closed",
"type": "market", "type": "market",
"amount": 0.0004, "amount": 0.0004,