Add type hints to current_request_with_host in tests (#119054)

This commit is contained in:
epenet 2024-06-07 11:40:23 +02:00 committed by GitHub
parent 907297cd1a
commit 5f309b69cf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 4 deletions

View File

@ -29,9 +29,8 @@ type ComponentSetup = Callable[[], Awaitable[bool]]
@pytest.fixture(autouse=True)
async def request_setup(current_request_with_host) -> None:
async def request_setup(current_request_with_host: None) -> None:
"""Request setup."""
return
@pytest.fixture

View File

@ -50,9 +50,8 @@ OAUTH2_TOKEN = "https://oauth2.googleapis.com/token"
@pytest.fixture(autouse=True)
async def request_setup(current_request_with_host) -> None:
async def request_setup(current_request_with_host: None) -> None:
"""Request setup."""
return
@pytest.fixture(autouse=True)