mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-14 20:23:57 +00:00
chore: remove unused mock imports
This commit is contained in:
parent
b5592b88fa
commit
8f8e6f16b4
|
@ -571,7 +571,7 @@ def test_create_datadir_failed(caplog):
|
||||||
assert log_has("`create-userdir` requires --userdir to be set.", caplog)
|
assert log_has("`create-userdir` requires --userdir to be set.", caplog)
|
||||||
|
|
||||||
|
|
||||||
def test_create_datadir(caplog, mocker):
|
def test_create_datadir(mocker):
|
||||||
cud = mocker.patch(
|
cud = mocker.patch(
|
||||||
"freqtrade.configuration.directory_operations.create_userdata_dir", MagicMock()
|
"freqtrade.configuration.directory_operations.create_userdata_dir", MagicMock()
|
||||||
)
|
)
|
||||||
|
@ -604,7 +604,7 @@ def test_start_new_strategy(mocker, caplog):
|
||||||
start_new_strategy(get_args(args))
|
start_new_strategy(get_args(args))
|
||||||
|
|
||||||
|
|
||||||
def test_start_new_strategy_no_arg(mocker, caplog):
|
def test_start_new_strategy_no_arg():
|
||||||
args = [
|
args = [
|
||||||
"new-strategy",
|
"new-strategy",
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user