mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 21:06:19 +00:00
Add tmpdir to known fixtures in pylint (#89844)
This commit is contained in:
@@ -5,6 +5,7 @@ import json
|
||||
from typing import Any, NamedTuple
|
||||
from unittest.mock import Mock, patch
|
||||
|
||||
import py
|
||||
import pytest
|
||||
|
||||
from homeassistant.const import (
|
||||
@@ -505,7 +506,7 @@ async def test_changing_delayed_written_data(
|
||||
}
|
||||
|
||||
|
||||
async def test_saving_load_round_trip(tmpdir) -> None:
|
||||
async def test_saving_load_round_trip(tmpdir: py.path.local) -> None:
|
||||
"""Test saving and loading round trip."""
|
||||
loop = asyncio.get_running_loop()
|
||||
hass = await async_test_home_assistant(loop)
|
||||
|
||||
Reference in New Issue
Block a user