dhcpkit.tests.ipv6.extensions.test_ntp module

Test the NTP option implementation

class dhcpkit.tests.ipv6.extensions.test_ntp.NTPMulticastAddressSubOptionTestCase(methodName='runTest')[source]

Bases: dhcpkit.tests.ipv6.extensions.test_ntp.NTPSubOptionTestCase

setUp()[source]

Hook method for setting up the test fixture before exercising it.

test_bad_option_length()[source]
test_config_datatype()[source]
test_validate_address()[source]
test_validate_value()[source]
class dhcpkit.tests.ipv6.extensions.test_ntp.NTPServerAddressSubOptionTestCase(methodName='runTest')[source]

Bases: dhcpkit.tests.ipv6.extensions.test_ntp.NTPSubOptionTestCase

setUp()[source]

Hook method for setting up the test fixture before exercising it.

test_bad_option_length()[source]
test_config_datatype()[source]
test_validate_address()[source]
test_validate_value()[source]
class dhcpkit.tests.ipv6.extensions.test_ntp.NTPServerFQDNSubOptionTestCase(methodName='runTest')[source]

Bases: dhcpkit.tests.ipv6.extensions.test_ntp.NTPSubOptionTestCase

setUp()[source]

Hook method for setting up the test fixture before exercising it.

test_bad_option_length()[source]
test_config_datatype()[source]
test_validate_fqdn()[source]
test_validate_value()[source]
class dhcpkit.tests.ipv6.extensions.test_ntp.NTPServersOptionTestCase(methodName='runTest')[source]

Bases: dhcpkit.tests.ipv6.options.test_option.OptionTestCase

setUp()[source]

Hook method for setting up the test fixture before exercising it.

test_bad_option_length()[source]
test_parse_wrong_type()[source]
class dhcpkit.tests.ipv6.extensions.test_ntp.NTPSubOptionTestCase(methodName='runTest')[source]

Bases: dhcpkit.tests.ipv6.options.test_option.OptionTestCase

parse_option()[source]
setUp()[source]

Hook method for setting up the test fixture before exercising it.

test_load_from_wrong_buffer()[source]
class dhcpkit.tests.ipv6.extensions.test_ntp.UnknownNTPSubOptionTestCase(methodName='runTest')[source]

Bases: dhcpkit.tests.ipv6.extensions.test_ntp.NTPSubOptionTestCase

test_validate_suboption_data()[source]
test_validate_suboption_type()[source]
test_validate_value()[source]