Add 5th mock trade

This commit is contained in:
Matthias
2020-09-09 07:01:43 +02:00
parent caf0476717
commit 98840eef3c
6 changed files with 66 additions and 11 deletions

View File

@@ -110,7 +110,7 @@ def test_load_trades_from_db(default_conf, fee, mocker):
trades = load_trades_from_db(db_url=default_conf['db_url'])
assert init_mock.call_count == 1
assert len(trades) == 4
assert len(trades) == 5
assert isinstance(trades, DataFrame)
assert "pair" in trades.columns
assert "open_date" in trades.columns