Update imports for SellType in tests

This commit is contained in:
Matthias
2021-06-08 21:06:47 +02:00
parent d16a619489
commit 89b9915c12
14 changed files with 17 additions and 14 deletions

View File

@@ -17,6 +17,7 @@ from telegram.error import NetworkError
from freqtrade import __version__
from freqtrade.constants import CANCEL_REASON
from freqtrade.edge import PairInfo
from freqtrade.enums import SellType
from freqtrade.exceptions import OperationalException
from freqtrade.freqtradebot import FreqtradeBot
from freqtrade.loggers import setup_logging
@@ -24,7 +25,6 @@ from freqtrade.persistence import PairLocks, Trade
from freqtrade.rpc import RPC, RPCMessageType
from freqtrade.rpc.telegram import Telegram, authorized_only
from freqtrade.state import RunMode, State
from freqtrade.strategy.interface import SellType
from tests.conftest import (create_mock_trades, get_patched_freqtradebot, log_has, patch_exchange,
patch_get_signal, patch_whitelist)

View File

@@ -5,9 +5,9 @@ from unittest.mock import MagicMock
import pytest
from requests import RequestException
from freqtrade.enums import SellType
from freqtrade.rpc import RPC, RPCMessageType
from freqtrade.rpc.webhook import Webhook
from freqtrade.strategy.interface import SellType
from tests.conftest import get_patched_freqtradebot, log_has