whitespace issues

This commit is contained in:
Matthias 2018-07-24 23:08:40 +01:00
parent ff6435948e
commit dc1ad3cbf6
2 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,6 @@ from pandas import DataFrame
from freqtrade.fiat_convert import CryptoToFiatConverter
from freqtrade.misc import shorten_date
from freqtrade.persistence import Trade
from freqtrade.state import State
logger = logging.getLogger(__name__)
@ -50,7 +49,7 @@ class RPC(object):
"""
RPC class can be used to have extra feature, like bot data, and access to DB data
"""
# Initialize _fiat_converter if needed in each RPC handler
# Bind _fiat_converter if needed in each RPC handler
_fiat_converter: Optional[CryptoToFiatConverter] = None
def __init__(self, freqtrade) -> None:

View File

@ -1171,6 +1171,7 @@ def test_send_msg_sell_notification(default_conf, mocker) -> None:
# Reset singleton function to avoid random breaks
telegram._fiat_converter.convert_amount = old_convamount
def test_send_msg_status_notification(default_conf, mocker) -> None:
msg_mock = MagicMock()
mocker.patch.multiple(