Files
OpenBB/tests/openbb_terminal/mutual_funds/test_avanza_model.py
Igor Radovanovic 2bf1729bbd Alt & mutual fund unit test & cleanup (#4540)
* Alternative & Mutual Funds unit tests & cleanup

* ruff

* add dependency

* general linting updates

* Update reqs

* pytest-recorder updates

* pre-commit config

* checkout dependencies from develop

* dependency update

* dependency update

* pytest-recorder updates

---------

Co-authored-by: James Maslek <jmaslek11@gmail.com>
Co-authored-by: montezdesousa <79287829+montezdesousa@users.noreply.github.com>
2023-03-23 12:33:36 +00:00

18 lines
308 B
Python

"""Test the avanza model."""
import pytest
from openbb_terminal.mutual_funds import avanza_model
@pytest.mark.record_http
@pytest.mark.parametrize(
"isin",
["LU0476876163"],
)
def test_get_data(isin):
data = avanza_model.get_data(isin=isin)
assert isinstance(data, dict)
assert data