Extract netmask of interfaces on windows

This commit is contained in:
Julien Duponchelle
2016-09-28 10:48:28 +02:00
parent fb2dac6ef1
commit c38dd004b8
2 changed files with 14 additions and 0 deletions

View File

@ -28,6 +28,14 @@ def test_interfaces():
if interface["name"].startswith("vmnet"):
assert interface["special"]
assert "id" in interface
assert "name" in interface
assert "ip_address" in interface
assert "mac_address" in interface
assert "netcard" in interface
assert "type" in interface
assert "netmask" in interface
def test_has_netmask():
if sys.platform.startswith("win"):