16 lines
340 B
Python
16 lines
340 B
Python
import pytest
|
|
from fin_depo import investbank_nordnet
|
|
import requests
|
|
|
|
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
|