only return data['result'] from get_ticker_history

This commit is contained in:
gcarq
2017-11-05 23:47:59 +01:00
parent 472ce8566d
commit 60e651cb4c
15 changed files with 27 additions and 33 deletions

View File

@@ -11,9 +11,7 @@ from freqtrade.analyze import parse_ticker_dataframe, populate_buy_trend, popula
@pytest.fixture
def result():
with open('freqtrade/tests/testdata/btc-eth.json') as data_file:
data = json.load(data_file)
return parse_ticker_dataframe(data['result'])
return parse_ticker_dataframe(json.load(data_file))
def test_dataframe_has_correct_columns(result):

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long