Skip to content

Commit

Permalink
Fix formatting of mac addresses from dhcp discovery mocking in squeez…
Browse files Browse the repository at this point in the history
…ebox (#110604)

dhcp returns addresses in lowercase without :
  • Loading branch information
bdraco authored Feb 14, 2024
1 parent d4562f4 commit 35bcf2e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/components/squeezebox/test_config_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ async def test_dhcp_discovery(hass: HomeAssistant) -> None:
context={"source": config_entries.SOURCE_DHCP},
data=dhcp.DhcpServiceInfo(
ip="1.1.1.1",
macaddress="AA:BB:CC:DD:EE:FF",
macaddress="aabbccddeeff",
hostname="any",
),
)
Expand All @@ -236,7 +236,7 @@ async def test_dhcp_discovery_no_server_found(hass: HomeAssistant) -> None:
context={"source": config_entries.SOURCE_DHCP},
data=dhcp.DhcpServiceInfo(
ip="1.1.1.1",
macaddress="AA:BB:CC:DD:EE:FF",
macaddress="aabbccddeeff",
hostname="any",
),
)
Expand All @@ -255,7 +255,7 @@ async def test_dhcp_discovery_existing_player(hass: HomeAssistant) -> None:
context={"source": config_entries.SOURCE_DHCP},
data=dhcp.DhcpServiceInfo(
ip="1.1.1.1",
macaddress="AA:BB:CC:DD:EE:FF",
macaddress="aabbccddeeff",
hostname="any",
),
)
Expand Down

0 comments on commit 35bcf2e

Please sign in to comment.