dhcpkit.tests.test_registry module

Test whether the basic stuff of Registry works as intended

class dhcpkit.tests.test_registry.ElementOccurrenceTestCase(methodName='runTest')[source]

Bases: unittest.case.TestCase

test_bad_entry()[source]
test_duplicate_entries()[source]
test_registry_loading()[source]
test_version_mismatch()[source]
class dhcpkit.tests.test_registry.TestRegistry[source]

Bases: dhcpkit.registry.Registry

A registry that doesn’t exist to test with

entry_point = 'dhcpkit.tests.registry'