Bump async-upnp-client to 0.33.2 (#93329)

* Bump async-upnp-client to 0.33.2

* Fix tests
This commit is contained in:
Steven Looman 2023-05-22 00:17:08 +02:00 committed by GitHub
parent c3cd60e0cb
commit 63c2b5868e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 21 additions and 9 deletions

View file

@ -8,7 +8,7 @@
"documentation": "https://www.home-assistant.io/integrations/dlna_dmr",
"iot_class": "local_push",
"loggers": ["async_upnp_client"],
"requirements": ["async-upnp-client==0.33.1", "getmac==0.8.2"],
"requirements": ["async-upnp-client==0.33.2", "getmac==0.8.2"],
"ssdp": [
{
"deviceType": "urn:schemas-upnp-org:device:MediaRenderer:1",

View file

@ -8,7 +8,7 @@
"documentation": "https://www.home-assistant.io/integrations/dlna_dms",
"iot_class": "local_polling",
"quality_scale": "platinum",
"requirements": ["async-upnp-client==0.33.1"],
"requirements": ["async-upnp-client==0.33.2"],
"ssdp": [
{
"deviceType": "urn:schemas-upnp-org:device:MediaServer:1",

View file

@ -39,7 +39,7 @@
"samsungctl[websocket]==0.7.1",
"samsungtvws[async,encrypted]==2.6.0",
"wakeonlan==2.1.0",
"async-upnp-client==0.33.1"
"async-upnp-client==0.33.2"
],
"ssdp": [
{

View file

@ -9,5 +9,5 @@
"iot_class": "local_push",
"loggers": ["async_upnp_client"],
"quality_scale": "internal",
"requirements": ["async-upnp-client==0.33.1"]
"requirements": ["async-upnp-client==0.33.2"]
}

View file

@ -8,7 +8,7 @@
"integration_type": "device",
"iot_class": "local_polling",
"loggers": ["async_upnp_client"],
"requirements": ["async-upnp-client==0.33.1", "getmac==0.8.2"],
"requirements": ["async-upnp-client==0.33.2", "getmac==0.8.2"],
"ssdp": [
{
"st": "urn:schemas-upnp-org:device:InternetGatewayDevice:1"

View file

@ -17,7 +17,7 @@
"iot_class": "local_push",
"loggers": ["async_upnp_client", "yeelight"],
"quality_scale": "platinum",
"requirements": ["yeelight==0.7.10", "async-upnp-client==0.33.1"],
"requirements": ["yeelight==0.7.10", "async-upnp-client==0.33.2"],
"zeroconf": [
{
"type": "_miio._udp.local.",

View file

@ -5,7 +5,7 @@ aiodiscover==1.4.16
aiohttp==3.8.4
aiohttp_cors==0.7.0
astral==2.2
async-upnp-client==0.33.1
async-upnp-client==0.33.2
async_timeout==4.0.2
atomicwrites-homeassistant==1.4.1
attrs==22.2.0

View file

@ -377,7 +377,7 @@ asterisk_mbox==0.5.0
# homeassistant.components.ssdp
# homeassistant.components.upnp
# homeassistant.components.yeelight
async-upnp-client==0.33.1
async-upnp-client==0.33.2
# homeassistant.components.supla
asyncpysupla==0.0.5

View file

@ -337,7 +337,7 @@ arcam-fmj==1.3.0
# homeassistant.components.ssdp
# homeassistant.components.upnp
# homeassistant.components.yeelight
async-upnp-client==0.33.1
async-upnp-client==0.33.2
# homeassistant.components.sleepiq
asyncsleepiq==1.3.5

View file

@ -53,6 +53,7 @@ async def test_ssdp_flow_dispatched_on_st(
"usn": "uuid:mock-udn::mock-st",
"server": "mock-server",
"ext": "",
"_source": "search",
}
)
ssdp_listener = await init_ssdp_component(hass)
@ -96,6 +97,7 @@ async def test_ssdp_flow_dispatched_on_manufacturer_url(
"usn": "uuid:mock-udn::mock-st",
"server": "mock-server",
"ext": "",
"_source": "search",
}
)
ssdp_listener = await init_ssdp_component(hass)
@ -149,6 +151,7 @@ async def test_scan_match_upnp_devicedesc_manufacturer(
"st": "mock-st",
"location": "http://1.1.1.1",
"usn": "uuid:mock-udn::mock-st",
"_source": "search",
}
)
ssdp_listener = await init_ssdp_component(hass)
@ -193,6 +196,7 @@ async def test_scan_match_upnp_devicedesc_devicetype(
"st": "mock-st",
"location": "http://1.1.1.1",
"usn": "uuid:mock-udn::mock-st",
"_source": "search",
}
)
ssdp_listener = await init_ssdp_component(hass)
@ -290,6 +294,7 @@ async def test_scan_not_all_match(
"st": "mock-st",
"location": "http://1.1.1.1",
"usn": "uuid:mock-udn::mock-st",
"_source": "search",
}
)
ssdp_listener = await init_ssdp_component(hass)
@ -333,6 +338,7 @@ async def test_flow_start_only_alive(
"st": "mock-st",
"location": "http://1.1.1.1",
"usn": "uuid:mock-udn::mock-st",
"_source": "search",
}
)
ssdp_listener._on_search(mock_ssdp_search_response)
@ -350,6 +356,7 @@ async def test_flow_start_only_alive(
"usn": "uuid:mock-udn::mock-st",
"nt": "upnp:rootdevice",
"nts": "ssdp:alive",
"_source": "advertisement",
}
)
ssdp_listener._on_alive(mock_ssdp_advertisement)
@ -407,6 +414,7 @@ async def test_discovery_from_advertisement_sets_ssdp_st(
"nts": "ssdp:alive",
"location": "http://1.1.1.1",
"usn": "uuid:mock-udn::mock-st",
"_source": "advertisement",
}
)
ssdp_listener._on_alive(mock_ssdp_advertisement)
@ -481,6 +489,7 @@ async def test_scan_with_registered_callback(
"server": "mock-server",
"x-rincon-bootseq": "55",
"ext": "",
"_source": "search",
}
)
ssdp_listener = await init_ssdp_component(hass)
@ -577,6 +586,7 @@ async def test_getting_existing_headers(
"USN": "uuid:TIVRTLSR7ANF-D6E-1557809135086-RETAIL::urn:mdx-netflix-com:service:target:3",
"SERVER": "mock-server",
"EXT": "",
"_source": "search",
}
)
ssdp_listener = await init_ssdp_component(hass)
@ -818,6 +828,7 @@ async def test_flow_dismiss_on_byebye(
"st": "mock-st",
"location": "http://1.1.1.1",
"usn": "uuid:mock-udn::mock-st",
"_source": "search",
}
)
ssdp_listener._on_search(mock_ssdp_search_response)
@ -835,6 +846,7 @@ async def test_flow_dismiss_on_byebye(
"usn": "uuid:mock-udn::mock-st",
"nt": "upnp:rootdevice",
"nts": "ssdp:alive",
"_source": "advertisement",
}
)
ssdp_listener._on_alive(mock_ssdp_advertisement)