Remove duplicate result pytest fixture
This commit is contained in:
parent
fef8a4c978
commit
7a074f21bd
@ -7,12 +7,6 @@ from freqtrade.analyze import Analyze
|
|||||||
from freqtrade.strategy.default_strategy import DefaultStrategy, class_name
|
from freqtrade.strategy.default_strategy import DefaultStrategy, class_name
|
||||||
|
|
||||||
|
|
||||||
@pytest.fixture
|
|
||||||
def result():
|
|
||||||
with open('freqtrade/tests/testdata/ETH_BTC-1m.json') as data_file:
|
|
||||||
return Analyze.parse_ticker_dataframe(json.load(data_file))
|
|
||||||
|
|
||||||
|
|
||||||
def test_default_strategy_class_name():
|
def test_default_strategy_class_name():
|
||||||
assert class_name == DefaultStrategy.__name__
|
assert class_name == DefaultStrategy.__name__
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user