sicherheitsupdate

This commit is contained in:
stephan
2025-06-29 08:33:19 +02:00
parent 4ed4d69b21
commit 55f6d0816c
9 changed files with 286 additions and 247 deletions

8
tests/test_netinf.py Normal file
View File

@ -0,0 +1,8 @@
from netinf import get_network_info
def test_network_info_contains_expected_keys():
data = get_network_info(debug=False)
assert isinstance(data, dict)
for key in ["hostname", "ip_address", "interfaces", "gateway", "dns_servers", "connections"]:
assert key in data