Adjust some tests to dataframe passing

This commit is contained in:
Matthias
2018-12-11 19:48:36 +01:00
parent 627ab9f583
commit fe3990af3d
5 changed files with 42 additions and 20 deletions

View File

@@ -481,7 +481,7 @@ def order_book_l2():
@pytest.fixture
def ticker_history():
def ticker_history_list():
return [
[
1511686200000, # unix timestamp ms
@@ -510,6 +510,11 @@ def ticker_history():
]
@pytest.fixture
def ticker_history(ticker_history_list):
return parse_ticker_dataframe(ticker_history_list)
@pytest.fixture
def tickers():
return MagicMock(return_value={