Revision 0a806f31
Added by Dmitri Dolguikh over 7 years ago
test/provider_interface_validation/dhcp_provider.rb | ||
---|---|---|
module DhcpProviderInterfaceValidation
|
||
def assert_dhcp_provider_interface(dhcp_provider)
|
||
assert dhcp_provider.respond_to?(:load_subnets)
|
||
assert dhcp_provider.respond_to?(:load_subnet_data)
|
||
assert dhcp_provider.respond_to?(:find_subnet)
|
||
assert dhcp_provider.respond_to?(:subnets)
|
||
assert dhcp_provider.respond_to?(:all_hosts)
|
Also available in: Unified diff
Fixes #18072 - removed load_* methods from core dhcp providers