File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11import datetime as dt
22from io import BytesIO
3- from typing import Generator
3+ from typing import Any , Generator
44
55import pytest
66from cuenca_validations .types import Country , Gender , SessionType , State
@@ -82,7 +82,7 @@ def file() -> BytesIO:
8282
8383
8484@pytest .fixture
85- def session_with_resource_id () -> Generator [Session ]:
85+ def session_with_resource_id () -> Generator [Session , Any , Any ]:
8686 session = Session .create (
8787 'USPR4JxMuwSG60u2h4gBpB6Q' ,
8888 SessionType .onboarding_verification ,
@@ -94,7 +94,7 @@ def session_with_resource_id() -> Generator[Session]:
9494@pytest .fixture
9595def client_authed_with_session (
9696 session_with_resource_id : Session ,
97- ) -> Generator [ClientSession ]:
97+ ) -> Generator [ClientSession , Any , Any ]:
9898 client = ClientSession ()
9999 client .configure (session_token = session_with_resource_id .id , sandbox = True )
100100 client .basic_auth = ('' , '' )
You can’t perform that action at this time.
0 commit comments