flake8 on tests

This commit is contained in:
Jean-Baptiste LE STANG 2018-01-02 13:46:16 +01:00
parent 5344b711ea
commit 3f65fc014e

View File

@ -42,6 +42,7 @@ def get_health():
def get_health_empty(): def get_health_empty():
return [] return []
def test_refresh_market_pair_not_in_whitelist(mocker): def test_refresh_market_pair_not_in_whitelist(mocker):
conf = whitelist_conf() conf = whitelist_conf()
mocker.patch.dict('freqtrade.main._CONF', conf) mocker.patch.dict('freqtrade.main._CONF', conf)
@ -53,6 +54,7 @@ def test_refresh_market_pair_not_in_whitelist(mocker):
# Ensure all except those in whitelist are removed # Ensure all except those in whitelist are removed
assert whitelist == refreshedwhitelist assert whitelist == refreshedwhitelist
def test_refresh_whitelist(mocker): def test_refresh_whitelist(mocker):
conf = whitelist_conf() conf = whitelist_conf()
mocker.patch.dict('freqtrade.main._CONF', conf) mocker.patch.dict('freqtrade.main._CONF', conf)