1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 21:06:19 +00:00

Add type hints to integration tests (f-g) (#87700)

This commit is contained in:
epenet
2023-02-08 13:33:52 +01:00
committed by GitHub
parent 3052de3e8e
commit 7a4d15a657
75 changed files with 609 additions and 415 deletions

View File

@@ -650,7 +650,7 @@ async def test_options_template_error(hass, fakeimgbytes_png, mock_create_stream
assert result7["errors"] == {"stream_source": "malformed_url"}
async def test_slug(hass, caplog):
async def test_slug(hass: HomeAssistant, caplog: pytest.LogCaptureFixture) -> None:
"""Test that the slug function generates an error in case of invalid template.
Other paths in the slug function are already tested by other tests.