1
0
fin-depo/test/test_nordnet.py
Jon Michael Aanes 5b188cf1aa
Some checks failed
Test Python / Test (push) Failing after 20s
Ruff
2024-06-04 22:15:21 +02:00

19 lines
345 B
Python

import requests
from fin_depo import investbank_nordnet
SECRET_USERNAME = None
SECRET_PASSWORD = None
def test_get_depo():
session = requests.Session()
nordnet = investbank_nordnet.NordnetDepoFetcher(
session,
SECRET_USERNAME,
SECRET_PASSWORD,
)
depo = nordnet.get_depo()
assert depo is not None