mirror of
https://github.com/home-assistant/core.git
synced 2025-04-23 08:47:57 +00:00
Bump voip-utils (#132110)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
This commit is contained in:
parent
ff77ecd2ce
commit
af5574f71c
@ -7,5 +7,5 @@
|
||||
"documentation": "https://www.home-assistant.io/integrations/voip",
|
||||
"iot_class": "local_push",
|
||||
"quality_scale": "internal",
|
||||
"requirements": ["voip-utils==0.1.0"]
|
||||
"requirements": ["voip-utils==0.2.1"]
|
||||
}
|
||||
|
@ -2947,7 +2947,7 @@ venstarcolortouch==0.19
|
||||
vilfo-api-client==0.5.0
|
||||
|
||||
# homeassistant.components.voip
|
||||
voip-utils==0.1.0
|
||||
voip-utils==0.2.1
|
||||
|
||||
# homeassistant.components.volkszaehler
|
||||
volkszaehler==0.4.0
|
||||
|
@ -2357,7 +2357,7 @@ venstarcolortouch==0.19
|
||||
vilfo-api-client==0.5.0
|
||||
|
||||
# homeassistant.components.voip
|
||||
voip-utils==0.1.0
|
||||
voip-utils==0.2.1
|
||||
|
||||
# homeassistant.components.volvooncall
|
||||
volvooncall==0.10.3
|
||||
|
@ -6,6 +6,7 @@ from unittest.mock import AsyncMock, Mock, patch
|
||||
|
||||
import pytest
|
||||
from voip_utils import CallInfo
|
||||
from voip_utils.sip import get_sip_endpoint
|
||||
|
||||
from homeassistant.components.voip import DOMAIN
|
||||
from homeassistant.components.voip.devices import VoIPDevice, VoIPDevices
|
||||
@ -55,8 +56,7 @@ async def voip_devices(hass: HomeAssistant, setup_voip: None) -> VoIPDevices:
|
||||
def call_info() -> CallInfo:
|
||||
"""Fake call info."""
|
||||
return CallInfo(
|
||||
caller_ip="192.168.1.210",
|
||||
caller_sip_port=5060,
|
||||
caller_endpoint=get_sip_endpoint("192.168.1.210", 5060),
|
||||
caller_rtp_port=5004,
|
||||
server_ip="192.168.1.10",
|
||||
headers={
|
||||
|
Loading…
x
Reference in New Issue
Block a user