diff --git a/tests/test_dhcp.py b/tests/test_dhcp.py index 5a5e39ff9390f901ab843b8dd52d5e11bf3dcc9b..ec5e3506bf4eb75fafe9325b6783b0f92ffa787b 100644 --- a/tests/test_dhcp.py +++ b/tests/test_dhcp.py @@ -15,3 +15,9 @@ def test_dhcp_service(Service, Socket, SystemInfo): pass if SystemInfo.type == 'linux': assert Socket('udp://0.0.0.0:67').is_listening + + +def test_dhcp_confi(Sudo, Command, SystemInfo): + if SystemInfo.type == 'linux': + with Sudo(): + assert Command('dhcpd -t').rc == 0