Nordnet testing
This commit is contained in:
parent
1870de8109
commit
3f08b75a00
15
test/test_nordnet.py
Normal file
15
test/test_nordnet.py
Normal 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
|
Loading…
Reference in New Issue
Block a user