Files
OpenBB/tests/openbb_terminal/forecast/test_brnn_model.py
Colin Delahunty ee34a1f278 Feature/add isort linter (#4114)
* Fixed isort

* Fixed issues

* FIxed linters

---------

Co-authored-by: James Maslek <jmaslek11@gmail.com>
2023-02-04 21:24:47 -05:00

19 lines
452 B
Python

import pytest
from tests.openbb_terminal.forecast import conftest
try:
from openbb_terminal.forecast import brnn_model
except ImportError:
pytest.skip(allow_module_level=True)
def test_get_brnn_model(tsla_csv):
conftest.test_model(brnn_model.get_brnn_data, tsla_csv, n_epochs=1)
def test_get_brnn_model_past_covs(tsla_csv):
conftest.test_model(
brnn_model.get_brnn_data, tsla_csv, n_epochs=1, past_covariates="open"
)