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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user