Fix flake8 error

This commit is contained in:
Matthias 2020-03-18 11:42:42 +01:00
parent 0920d6fce4
commit 3e1bef888a
2 changed files with 2 additions and 2 deletions

View File

@ -129,7 +129,8 @@ def load_trades_from_db(db_url: str) -> pd.DataFrame:
return trades return trades
def load_trades(source: str, db_url: str, exportfilename: Path, no_trades: bool = False) -> pd.DataFrame: def load_trades(source: str, db_url: str, exportfilename: Path,
no_trades: bool = False) -> pd.DataFrame:
""" """
Based on configuration option "trade_source": Based on configuration option "trade_source":
* loads data from DB (using `db_url`) * loads data from DB (using `db_url`)

View File

@ -117,7 +117,6 @@ def test_load_trades(default_conf, mocker):
load_trades("file", load_trades("file",
db_url=default_conf.get('db_url'), db_url=default_conf.get('db_url'),
exportfilename=default_conf.get('exportfilename'), exportfilename=default_conf.get('exportfilename'),
no_trades=False
) )
assert db_mock.call_count == 0 assert db_mock.call_count == 0