1
0
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:
epenet
2023-03-17 10:22:02 +01:00
committed by GitHub
parent dbb2706c76
commit ab4a726e6c
15 changed files with 86 additions and 44 deletions

View File

@@ -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)