Update based on comments
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user