tests: document kludge

This commit is contained in:
kryofly 2018-02-04 22:15:14 +01:00
parent 76df1794de
commit b397aba955
2 changed files with 6 additions and 2 deletions

View File

@ -261,6 +261,7 @@ def ticker_history_without_bv():
]
# FIX: Perhaps change result fixture to use BTC_UNITEST instead?
@pytest.fixture
def result():
with open('freqtrade/tests/testdata/BTC_ETH-1.json') as data_file:

View File

@ -19,8 +19,11 @@ def test_dataframe_correct_columns(result):
def test_dataframe_correct_length(result):
# no idea what this check truly does - should we just remove it?
assert len(result.index) == 14397
# FIX: no idea what this check truly does - should we just remove it?
# magic needs to change everytime testdata/* is updated.
# Perhaps change result fixture to use BTC_UNITEST instead?
magic = 14397
assert len(result.index) == magic
def test_populates_buy_trend(result):