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

@@ -734,7 +734,7 @@ def test_adjust_min_max_rates(fee):
def test_get_open(default_conf, fee):
create_mock_trades(fee)
assert len(Trade.get_open_trades()) == 2
assert len(Trade.get_open_trades()) == 3
@pytest.mark.usefixtures("init_persistence")
@@ -1004,7 +1004,7 @@ def test_total_open_trades_stakes(fee):
assert res == 0
create_mock_trades(fee)
res = Trade.total_open_trades_stakes()
assert res == 0.002
assert res == 0.003
@pytest.mark.usefixtures("init_persistence")