19 lines
345 B
Python
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
|