Skip to content

Commit

Permalink
Fix formatting of mac addresses from dhcp discovery mocking in steami…
Browse files Browse the repository at this point in the history
…st (#110605)

dhcp returns addresses in lowercase without :
  • Loading branch information
bdraco authored Feb 14, 2024
1 parent 48cd973 commit d4562f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/components/steamist/test_config_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
DHCP_DISCOVERY = dhcp.DhcpServiceInfo(
hostname=DEVICE_HOSTNAME,
ip=DEVICE_IP_ADDRESS,
macaddress=DEVICE_MAC_ADDRESS,
macaddress=DEVICE_MAC_ADDRESS.lower().replace(":", ""),
)


Expand Down Expand Up @@ -230,7 +230,7 @@ async def test_discovered_by_discovery_and_dhcp(hass: HomeAssistant) -> None:
data=dhcp.DhcpServiceInfo(
hostname="any",
ip=DEVICE_IP_ADDRESS,
macaddress="00:00:00:00:00:00",
macaddress="000000000000",
),
)
await hass.async_block_till_done()
Expand Down

0 comments on commit d4562f4

Please sign in to comment.