Skip to content
Snippets Groups Projects
Commit 1bcb083a authored by nimrod's avatar nimrod
Browse files

- Added config test.

parent 803d2727
No related branches found
No related tags found
No related merge requests found
...@@ -15,3 +15,9 @@ def test_dhcp_service(Service, Socket, SystemInfo): ...@@ -15,3 +15,9 @@ def test_dhcp_service(Service, Socket, SystemInfo):
pass pass
if SystemInfo.type == 'linux': if SystemInfo.type == 'linux':
assert Socket('udp://0.0.0.0:67').is_listening 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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment