Rename defaultStrategy file

This commit is contained in:
Matthias
2021-08-26 19:38:41 +02:00
parent 6d96b11279
commit 07d71f014f
6 changed files with 10 additions and 10 deletions

View File

@@ -4,10 +4,10 @@ from pandas import DataFrame
from freqtrade.persistence.models import Trade
from .strats.default_strategy import StrategyTestV2
from .strats.strategy_test_v2 import StrategyTestV2
def test_default_strategy_structure():
def test_strategy_test_v2_structure():
assert hasattr(StrategyTestV2, 'minimal_roi')
assert hasattr(StrategyTestV2, 'stoploss')
assert hasattr(StrategyTestV2, 'timeframe')
@@ -16,7 +16,7 @@ def test_default_strategy_structure():
assert hasattr(StrategyTestV2, 'populate_sell_trend')
def test_default_strategy(result, fee):
def test_strategy_test_v2(result, fee):
strategy = StrategyTestV2({})
metadata = {'pair': 'ETH/BTC'}

View File

@@ -22,7 +22,7 @@ from freqtrade.strategy.interface import SellCheckTuple
from freqtrade.strategy.strategy_wrapper import strategy_safe_wrapper
from tests.conftest import log_has, log_has_re
from .strats.default_strategy import StrategyTestV2
from .strats.strategy_test_v2 import StrategyTestV2
# Avoid to reinit the same object again and again