Flake8 fixes

This commit is contained in:
enenn
2018-04-12 18:13:35 +02:00
parent 1cfa0a3c0e
commit 94287d66a8
5 changed files with 9 additions and 8 deletions

View File

@@ -108,6 +108,7 @@ def test_validate_pairs_stake_exception(default_conf, mocker, caplog):
):
validate_pairs(default_conf['exchange']['pair_whitelist'])
def test_buy_dry_run(default_conf, mocker):
default_conf['dry_run'] = True
mocker.patch.dict('freqtrade.exchange._CONF', default_conf)
@@ -116,6 +117,7 @@ def test_buy_dry_run(default_conf, mocker):
assert 'id' in order
assert 'dry_run_buy_' in order['id']
def test_buy_prod(default_conf, mocker):
api_mock = MagicMock()
order_id = 'test_prod_buy_{}'.format(randint(0, 10 ** 6))