mirror of
https://github.com/home-assistant/core.git
synced 2025-08-02 12:15:08 +02:00
Adjust hddtemp test Telnet patch location (#120121)
This commit is contained in:
@@ -585,6 +585,7 @@ filterwarnings = [
|
|||||||
# -- Python 3.13
|
# -- Python 3.13
|
||||||
# HomeAssistant
|
# HomeAssistant
|
||||||
"ignore:'audioop' is deprecated and slated for removal in Python 3.13:DeprecationWarning:homeassistant.components.assist_pipeline.websocket_api",
|
"ignore:'audioop' is deprecated and slated for removal in Python 3.13:DeprecationWarning:homeassistant.components.assist_pipeline.websocket_api",
|
||||||
|
"ignore:'telnetlib' is deprecated and slated for removal in Python 3.13:DeprecationWarning:homeassistant.components.hddtemp.sensor",
|
||||||
# https://pypi.org/project/nextcord/ - v2.6.0 - 2023-09-23
|
# https://pypi.org/project/nextcord/ - v2.6.0 - 2023-09-23
|
||||||
# https://github.com/nextcord/nextcord/issues/1174
|
# https://github.com/nextcord/nextcord/issues/1174
|
||||||
# https://github.com/nextcord/nextcord/blob/v2.6.1/nextcord/player.py#L5
|
# https://github.com/nextcord/nextcord/blob/v2.6.1/nextcord/player.py#L5
|
||||||
|
@@ -85,7 +85,7 @@ class TelnetMock:
|
|||||||
@pytest.fixture
|
@pytest.fixture
|
||||||
def telnetmock():
|
def telnetmock():
|
||||||
"""Mock telnet."""
|
"""Mock telnet."""
|
||||||
with patch("telnetlib.Telnet", new=TelnetMock):
|
with patch("homeassistant.components.hddtemp.sensor.Telnet", new=TelnetMock):
|
||||||
yield
|
yield
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user