mirror of
https://github.com/home-assistant/core.git
synced 2025-12-23 20:39:01 +00:00
Add support for capturing renewals to dhcp discovery (#48242)
This commit is contained in:
@@ -33,6 +33,12 @@ def test_is_link_local():
|
||||
assert not network_util.is_link_local(ip_address("127.0.0.1"))
|
||||
|
||||
|
||||
def test_is_invalid():
|
||||
"""Test invalid address."""
|
||||
assert network_util.is_invalid(ip_address("0.0.0.0"))
|
||||
assert not network_util.is_invalid(ip_address("127.0.0.1"))
|
||||
|
||||
|
||||
def test_is_local():
|
||||
"""Test local addresses."""
|
||||
assert network_util.is_local(ip_address("192.168.0.1"))
|
||||
|
||||
Reference in New Issue
Block a user