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

@@ -1116,7 +1116,7 @@ def test_show_trades(mocker, fee, capsys, caplog):
pargs = get_args(args)
pargs['config'] = None
start_show_trades(pargs)
assert log_has("Printing 4 Trades: ", caplog)
assert log_has("Printing 5 Trades: ", caplog)
captured = capsys.readouterr()
assert "Trade(id=1" in captured.out
assert "Trade(id=2" in captured.out