mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-11-01 15:01:18 +00:00
* 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>
18 lines
308 B
Python
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
|