Merge pull request #339 from gcarq/upgrade_flake8

Upgrade flake8
This commit is contained in:
Samuel Husso
2018-01-08 07:34:45 +02:00
committed by GitHub
3 changed files with 5 additions and 5 deletions

View File

@@ -116,8 +116,8 @@ def test_fiat_convert_get_price(mocker):
def test_fiat_convert_without_network(mocker):
Pymarketcap = MagicMock(side_effect=ImportError('Oh boy, you have no network!'))
mocker.patch('freqtrade.fiat_convert.Pymarketcap', Pymarketcap)
pymarketcap = MagicMock(side_effect=ImportError('Oh boy, you have no network!'))
mocker.patch('freqtrade.fiat_convert.Pymarketcap', pymarketcap)
fiat_convert = CryptoToFiatConverter()
assert fiat_convert._coinmarketcap is None