mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 10:21:59 +00:00
Fix flake8 error
This commit is contained in:
parent
0920d6fce4
commit
3e1bef888a
|
@ -129,7 +129,8 @@ def load_trades_from_db(db_url: str) -> pd.DataFrame:
|
|||
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":
|
||||
* loads data from DB (using `db_url`)
|
||||
|
|
|
@ -117,7 +117,6 @@ def test_load_trades(default_conf, mocker):
|
|||
load_trades("file",
|
||||
db_url=default_conf.get('db_url'),
|
||||
exportfilename=default_conf.get('exportfilename'),
|
||||
no_trades=False
|
||||
)
|
||||
|
||||
assert db_mock.call_count == 0
|
||||
|
|
Loading…
Reference in New Issue
Block a user