forked from home-assistant/core
Add type hints to current_request_with_host in tests (#119054)
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user