From 0d8e105a339dcd96ac883dbfd23ca210bbd8b3eb Mon Sep 17 00:00:00 2001 From: Matthias Date: Thu, 26 Aug 2021 07:14:49 +0200 Subject: [PATCH] Rename legacystrategy file --- tests/commands/test_commands.py | 4 ++-- .../strats/{legacy_strategy.py => legacy_strategy_v1.py} | 0 2 files changed, 2 insertions(+), 2 deletions(-) rename tests/strategy/strats/{legacy_strategy.py => legacy_strategy_v1.py} (100%) diff --git a/tests/commands/test_commands.py b/tests/commands/test_commands.py index a2ab37e61..9f21e93d7 100644 --- a/tests/commands/test_commands.py +++ b/tests/commands/test_commands.py @@ -806,7 +806,7 @@ def test_start_list_strategies(mocker, caplog, capsys): start_list_strategies(pargs) captured = capsys.readouterr() assert "TestStrategyLegacyV1" in captured.out - assert "legacy_strategy.py" not in captured.out + assert "legacy_strategy_v1.py" not in captured.out assert "DefaultStrategy" in captured.out # Test regular output @@ -821,7 +821,7 @@ def test_start_list_strategies(mocker, caplog, capsys): start_list_strategies(pargs) captured = capsys.readouterr() assert "TestStrategyLegacyV1" in captured.out - assert "legacy_strategy.py" in captured.out + assert "legacy_strategy_v1.py" in captured.out assert "DefaultStrategy" in captured.out diff --git a/tests/strategy/strats/legacy_strategy.py b/tests/strategy/strats/legacy_strategy_v1.py similarity index 100% rename from tests/strategy/strats/legacy_strategy.py rename to tests/strategy/strats/legacy_strategy_v1.py