Rename test-legacy strategy

This commit is contained in:
Matthias
2021-08-26 07:04:33 +02:00
parent 1f3ccc2587
commit fbf8eb4526
7 changed files with 13 additions and 13 deletions

View File

@@ -816,7 +816,7 @@ def test_start_list_strategies(mocker, caplog, capsys):
# pargs['config'] = None
start_list_strategies(pargs)
captured = capsys.readouterr()
assert "TestStrategyLegacy" in captured.out
assert "TestStrategyLegacyV1" in captured.out
assert "legacy_strategy.py" not in captured.out
assert "DefaultStrategy" in captured.out
@@ -831,7 +831,7 @@ def test_start_list_strategies(mocker, caplog, capsys):
# pargs['config'] = None
start_list_strategies(pargs)
captured = capsys.readouterr()
assert "TestStrategyLegacy" in captured.out
assert "TestStrategyLegacyV1" in captured.out
assert "legacy_strategy.py" in captured.out
assert "DefaultStrategy" in captured.out