From 4d8033ca9d8dd40f1883f044d7a69c6662b4d45f Mon Sep 17 00:00:00 2001 From: Daniel Date: Mon, 11 Dec 2023 01:14:44 +0100 Subject: [PATCH] fix type --- pytest_abra/custom_fixtures.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pytest_abra/custom_fixtures.py b/pytest_abra/custom_fixtures.py index d627812..c5e8b6c 100644 --- a/pytest_abra/custom_fixtures.py +++ b/pytest_abra/custom_fixtures.py @@ -93,7 +93,7 @@ def URL(env_config: dict[str, str]) -> BaseUrl: @pytest.fixture(scope="session") -def imap_client() -> None: +def imap_client() -> Generator[Imbox]: """imap email client using credentials from environment variables""" assert os.environ["IMAP_HOST"]