mirror of
https://github.com/home-assistant/core.git
synced 2025-11-12 12:30:31 +00:00
Add LogCaptureFixture type hints in tests (#118372)
This commit is contained in:
@@ -74,7 +74,7 @@ async def test_fetching_url(
|
||||
hass: HomeAssistant,
|
||||
hass_client: ClientSessionGenerator,
|
||||
fakeimgbytes_png,
|
||||
caplog: pytest.CaptureFixture,
|
||||
caplog: pytest.LogCaptureFixture,
|
||||
) -> None:
|
||||
"""Test that it fetches the given url."""
|
||||
hass.states.async_set("sensor.temp", "http://example.com/0a")
|
||||
|
||||
Reference in New Issue
Block a user