mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-10-29 21:42:22 +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>
17 lines
339 B
Python
17 lines
339 B
Python
import pytest
|
|
|
|
try:
|
|
from openbb_terminal.forecast import rwd_view
|
|
except ImportError:
|
|
pytest.skip(allow_module_level=True)
|
|
|
|
|
|
def test_display_rwd_forecast(tsla_csv):
|
|
rwd_view.display_rwd_forecast(
|
|
tsla_csv,
|
|
target_column="close",
|
|
n_predict=1,
|
|
start_window=0.5,
|
|
forecast_horizon=1,
|
|
)
|