Files
OpenBB/tests/openbb_terminal/forecast/test_autoselect_view.py
Colin Delahunty 58fb984b70 Forecast test (#3636)
* Fixed some tests

* Fixed some tests

* Finished fixing tests

* Fixed pylint

Co-authored-by: James Maslek <jmaslek11@gmail.com>
Co-authored-by: martinb-bb <105685594+martinb-bb@users.noreply.github.com>
2022-11-29 10:11:04 -05:00

18 lines
395 B
Python

import pytest
try:
from openbb_terminal.forecast import autoselect_view
except ImportError:
pytest.skip(allow_module_level=True)
def test_display_autoselect_forecast(tsla_csv):
autoselect_view.display_autoselect_forecast(
tsla_csv,
target_column="close",
seasonal_periods=3,
n_predict=1,
start_window=0.5,
forecast_horizon=1,
)