DefaultStrategy does not need to be limited

This commit is contained in:
Matthias
2021-08-26 07:00:15 +02:00
parent c4be52d1c3
commit 1f3ccc2587
5 changed files with 3 additions and 16 deletions

View File

@@ -510,17 +510,6 @@ def test_start_new_strategy(mocker, caplog):
start_new_strategy(get_args(args))
def test_start_new_strategy_DefaultStrat(mocker, caplog):
args = [
"new-strategy",
"--strategy",
"DefaultStrategy"
]
with pytest.raises(OperationalException,
match=r"DefaultStrategy is not allowed as name\."):
start_new_strategy(get_args(args))
def test_start_new_strategy_no_arg(mocker, caplog):
args = [
"new-strategy",