there are bats tests under tests/test-dhcp-script.bats which use hades-dhcp-script and the auth_dhcp_leases table.
These tests should also run against the unauth_dhcp_leases table.
This will require some refactoring and knowledge about how to write idiomatic bats tests.
there are bats tests under
tests/test-dhcp-script.bats
which usehades-dhcp-script
and theauth_dhcp_leases
table. These tests should also run against theunauth_dhcp_leases
table.This will require some refactoring and knowledge about how to write idiomatic
bats
tests.