Remove duplicate result pytest fixture

This commit is contained in:
enenn 2018-03-26 12:00:36 +02:00
parent fef8a4c978
commit 7a074f21bd

View File

@ -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__