mirror of
https://github.com/home-assistant/core.git
synced 2025-07-22 12:47:08 +00:00
Adjust hddtemp test Telnet patch location (#120121)
This commit is contained in:
parent
4d11dd6739
commit
1aa9094d3d
@ -585,6 +585,7 @@ filterwarnings = [
|
||||
# -- Python 3.13
|
||||
# HomeAssistant
|
||||
"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://github.com/nextcord/nextcord/issues/1174
|
||||
# https://github.com/nextcord/nextcord/blob/v2.6.1/nextcord/player.py#L5
|
||||
|
@ -85,7 +85,7 @@ class TelnetMock:
|
||||
@pytest.fixture
|
||||
def telnetmock():
|
||||
"""Mock telnet."""
|
||||
with patch("telnetlib.Telnet", new=TelnetMock):
|
||||
with patch("homeassistant.components.hddtemp.sensor.Telnet", new=TelnetMock):
|
||||
yield
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user