Update based on comments

This commit is contained in:
Fredrik81
2020-03-15 21:20:32 +01:00
parent 57ff3ff450
commit 8c33e07dc6
6 changed files with 17 additions and 18 deletions

View File

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