mirror of
https://github.com/home-assistant/core.git
synced 2025-07-20 11:47:06 +00:00
Fix formatting of mac addresses from dhcp discovery mocking in tesla_wall_connector (#110607)
* Fix formatting of mac addresses from dhcp discovery mocking in tesla_wall_connector dhcp returns addresses in lowercase without : * Fix formatting of mac addresses from dhcp discovery mocking in tesla_wall_connector dhcp returns addresses in lowercase without :
This commit is contained in:
parent
cefaf0e065
commit
334c177e67
@ -115,7 +115,7 @@ async def test_dhcp_can_finish(
|
|||||||
data=dhcp.DhcpServiceInfo(
|
data=dhcp.DhcpServiceInfo(
|
||||||
hostname="teslawallconnector_abc",
|
hostname="teslawallconnector_abc",
|
||||||
ip="1.2.3.4",
|
ip="1.2.3.4",
|
||||||
macaddress="DC:44:27:12:12",
|
macaddress="aadc44271212",
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
await hass.async_block_till_done()
|
await hass.async_block_till_done()
|
||||||
@ -148,7 +148,7 @@ async def test_dhcp_already_exists(
|
|||||||
data=dhcp.DhcpServiceInfo(
|
data=dhcp.DhcpServiceInfo(
|
||||||
hostname="teslawallconnector_aabbcc",
|
hostname="teslawallconnector_aabbcc",
|
||||||
ip="1.2.3.4",
|
ip="1.2.3.4",
|
||||||
macaddress="aa:bb:cc:dd:ee:ff",
|
macaddress="aabbccddeeff",
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
await hass.async_block_till_done()
|
await hass.async_block_till_done()
|
||||||
@ -172,7 +172,7 @@ async def test_dhcp_error_from_wall_connector(
|
|||||||
data=dhcp.DhcpServiceInfo(
|
data=dhcp.DhcpServiceInfo(
|
||||||
hostname="teslawallconnector_aabbcc",
|
hostname="teslawallconnector_aabbcc",
|
||||||
ip="1.2.3.4",
|
ip="1.2.3.4",
|
||||||
macaddress="aa:bb:cc:dd:ee:ff",
|
macaddress="aabbccddeeff",
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
await hass.async_block_till_done()
|
await hass.async_block_till_done()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user