Skip to content

Commit

Permalink
Fix formatting of mac addresses from dhcp discovery mocking in radiot…
Browse files Browse the repository at this point in the history
…herm (#110593)

dhcp returns addresses in lowercase without :
  • Loading branch information
bdraco authored Feb 14, 2024
1 parent 1f67e4f commit 7b4c5a1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/components/radiotherm/test_config_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ async def test_dhcp_can_confirm(hass: HomeAssistant) -> None:
data=dhcp.DhcpServiceInfo(
hostname="radiotherm",
ip="1.2.3.4",
macaddress="aa:bb:cc:dd:ee:ff",
macaddress="aabbccddeeff",
),
)
await hass.async_block_till_done()
Expand Down Expand Up @@ -155,7 +155,7 @@ async def test_dhcp_fails_to_connect(hass: HomeAssistant) -> None:
data=dhcp.DhcpServiceInfo(
hostname="radiotherm",
ip="1.2.3.4",
macaddress="aa:bb:cc:dd:ee:ff",
macaddress="aabbccddeeff",
),
)
await hass.async_block_till_done()
Expand Down Expand Up @@ -184,7 +184,7 @@ async def test_dhcp_already_exists(hass: HomeAssistant) -> None:
data=dhcp.DhcpServiceInfo(
hostname="radiotherm",
ip="1.2.3.4",
macaddress="aa:bb:cc:dd:ee:ff",
macaddress="aabbccddeeff",
),
)
await hass.async_block_till_done()
Expand Down

0 comments on commit 7b4c5a1

Please sign in to comment.