Fix indexing error

This commit is contained in:
Matthias 2019-01-27 10:47:24 +01:00
parent e0ad095bc7
commit 38f73dafb3

View File

@ -41,7 +41,7 @@ def test_common_datearray(default_conf) -> None:
assert dates.size == dataframes['UNITTEST/BTC']['date'].size assert dates.size == dataframes['UNITTEST/BTC']['date'].size
assert dates[0] == dataframes['UNITTEST/BTC']['date'][0] assert dates[0] == dataframes['UNITTEST/BTC']['date'][0]
assert dates[-1] == dataframes['UNITTEST/BTC']['date'][-1] assert dates[-1] == dataframes['UNITTEST/BTC']['date'].iloc[-1]
def test_file_dump_json(mocker) -> None: def test_file_dump_json(mocker) -> None: