mirror of
https://github.com/home-assistant/core.git
synced 2025-04-23 00:37:53 +00:00
Add type hints to current_request_with_host in tests (#119054)
This commit is contained in:
parent
907297cd1a
commit
5f309b69cf
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user