mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-10-29 13:32:08 +00:00
* 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>
21 lines
432 B
Python
21 lines
432 B
Python
import pytest
|
|
|
|
try:
|
|
from openbb_terminal.forecast import expo_view
|
|
except ImportError:
|
|
pytest.skip(allow_module_level=True)
|
|
|
|
|
|
def test_display_expo_forecast(tsla_csv):
|
|
expo_view.display_expo_forecast(
|
|
tsla_csv,
|
|
target_column="close",
|
|
trend="N",
|
|
seasonal="N",
|
|
seasonal_periods=3,
|
|
dampen="F",
|
|
n_predict=1,
|
|
start_window=0.5,
|
|
forecast_horizon=1,
|
|
)
|