Skip to content

Commit d022955

Browse files
fix: fix Generator return
1 parent 0a4bf15 commit d022955

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

tests/conftest.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import datetime as dt
22
from io import BytesIO
3-
from typing import Generator
3+
from typing import Any, Generator
44

55
import pytest
66
from 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
9595
def 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 = ('', '')

0 commit comments

Comments
 (0)