test: update tests for new behavior
This commit is contained in:
+2
-2
@@ -40,7 +40,7 @@ def test_parse_args_backtesting(mocker) -> None:
|
||||
assert backtesting_mock.call_count == 1
|
||||
call_args = backtesting_mock.call_args[0][0]
|
||||
assert call_args["config"] == ["config.json"]
|
||||
assert call_args["verbosity"] == 0
|
||||
assert call_args["verbosity"] is None
|
||||
assert call_args["command"] == "backtesting"
|
||||
assert call_args["func"] is not None
|
||||
assert callable(call_args["func"])
|
||||
@@ -57,7 +57,7 @@ def test_main_start_hyperopt(mocker) -> None:
|
||||
assert hyperopt_mock.call_count == 1
|
||||
call_args = hyperopt_mock.call_args[0][0]
|
||||
assert call_args["config"] == ["config.json"]
|
||||
assert call_args["verbosity"] == 0
|
||||
assert call_args["verbosity"] is None
|
||||
assert call_args["command"] == "hyperopt"
|
||||
assert call_args["func"] is not None
|
||||
assert callable(call_args["func"])
|
||||
|
||||
Reference in New Issue
Block a user