dhcpkit.tests.ipv6.extensions.test_map module

Test the Prefix Delegation option implementation

class dhcpkit.tests.ipv6.extensions.test_map.S46BROptionTestCase(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_validate_br_address()[source]
class dhcpkit.tests.ipv6.extensions.test_map.S46DMROptionTestCase(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_ipv6_prefix_length()[source]
test_bad_option_length()[source]
test_validate_dmr_prefix()[source]
class dhcpkit.tests.ipv6.extensions.test_map.S46LWContainerOptionTestCase(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]
class dhcpkit.tests.ipv6.extensions.test_map.S46MapEContainerOptionTestCase(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_get_option_of_type()[source]
test_get_options_of_type()[source]
class dhcpkit.tests.ipv6.extensions.test_map.S46MapTContainerOptionTestCase(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_get_option_of_type()[source]
test_get_options_of_type()[source]
class dhcpkit.tests.ipv6.extensions.test_map.S46PortParametersOptionTestCase(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_validate_combined_offset_psid_len()[source]
test_validate_offset()[source]
test_validate_psid()[source]
test_validate_psid_len()[source]
class dhcpkit.tests.ipv6.extensions.test_map.S46RuleOptionTestCase(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_ipv4_prefix_length()[source]
test_bad_ipv6_prefix_length()[source]
test_bad_option_length()[source]
test_flags()[source]
test_get_option_of_type()[source]
test_get_options_of_type()[source]
test_validate_ea_len()[source]
test_validate_flags()[source]
test_validate_ipv4_prefix()[source]
test_validate_ipv6_prefix()[source]
class dhcpkit.tests.ipv6.extensions.test_map.S46V4V6BindingOptionTestCase(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_ipv6_prefix_length()[source]
test_bad_option_length()[source]
test_get_option_of_type()[source]
test_get_options_of_type()[source]
test_validate_ipv4_address()[source]
test_validate_ipv6_prefix()[source]