Skip to content

Commit

Permalink
Fix formatting of mac addresses from dhcp discovery mocking in twinkly (
Browse files Browse the repository at this point in the history
#110609)

dhcp returns addresses in lowercase without :
  • Loading branch information
bdraco authored Feb 14, 2024
1 parent 2fe2464 commit 77a44c5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/components/twinkly/test_config_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ async def test_dhcp_can_confirm(hass: HomeAssistant) -> None:
data=dhcp.DhcpServiceInfo(
hostname="Twinkly_XYZ",
ip="1.2.3.4",
macaddress="aa:bb:cc:dd:ee:ff",
macaddress="aabbccddeeff",
),
)
await hass.async_block_till_done()
Expand All @@ -97,7 +97,7 @@ async def test_dhcp_success(hass: HomeAssistant) -> None:
data=dhcp.DhcpServiceInfo(
hostname="Twinkly_XYZ",
ip="1.2.3.4",
macaddress="aa:bb:cc:dd:ee:ff",
macaddress="aabbccddeeff",
),
)
await hass.async_block_till_done()
Expand Down Expand Up @@ -142,7 +142,7 @@ async def test_dhcp_already_exists(hass: HomeAssistant) -> None:
data=dhcp.DhcpServiceInfo(
hostname="Twinkly_XYZ",
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 77a44c5

Please sign in to comment.