dhcpkit.tests.ipv6.server.test_message_handler module¶
Testing of the message handler
-
class
dhcpkit.tests.ipv6.server.test_message_handler.BadExceptionHandler[source]¶ Bases:
dhcpkit.ipv6.server.handlers.HandlerA handler that raises a bogus exception
-
class
dhcpkit.tests.ipv6.server.test_message_handler.DummyExtension[source]¶ Bases:
objectA server extension that adds the DummyMarksHandler at both setup and cleanup
-
class
dhcpkit.tests.ipv6.server.test_message_handler.DummyMarksHandler(mark: str)[source]¶ Bases:
dhcpkit.ipv6.server.handlers.HandlerA handler that sets marks in each of the phases of message handling
-
handle(bundle: dhcpkit.ipv6.server.transaction_bundle.TransactionBundle)[source]¶ Add a mark to show we have been here
-