1
0

Nordnet testing

This commit is contained in:
Jon Michael Aanes 2024-06-04 22:14:58 +02:00
parent 1870de8109
commit 3f08b75a00
Signed by: Jmaa
SSH Key Fingerprint: SHA256:Ab0GfHGCblESJx7JRE4fj4bFy/KRpeLhi41y4pF3sNA

15
test/test_nordnet.py Normal file
View File

@ -0,0 +1,15 @@
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