chore: remove unused mock imports

This commit is contained in:
Matthias 2024-11-10 09:01:27 +01:00
parent b5592b88fa
commit 8f8e6f16b4

View File

@ -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",
] ]