mirror of
https://github.com/home-assistant/core.git
synced 2025-11-11 20:10:12 +00:00
Add LogCaptureFixture type hints in tests (#118372)
This commit is contained in:
@@ -682,7 +682,7 @@ hass.states.set('hello.c', c)
|
||||
],
|
||||
)
|
||||
async def test_prohibited_augmented_assignment_operations(
|
||||
hass: HomeAssistant, case: str, error: str, caplog
|
||||
hass: HomeAssistant, case: str, error: str, caplog: pytest.LogCaptureFixture
|
||||
) -> None:
|
||||
"""Test that prohibited augmented assignment operations raise an error."""
|
||||
hass.async_add_executor_job(execute, hass, "aug_assign_prohibited.py", case, {})
|
||||
|
||||
Reference in New Issue
Block a user