runway.tests.registry module

Register test handlers.

runway.tests.registry.register_test_handler(test_type: str, handler: Type[TestHandler]) None[source]

Register a test handler.

  • test_type – Name to register the handler under.

  • handler – Test handler class.

runway.tests.registry.unregister_test_handler(test_type: str) None[source]

Unregister the specified test type.

This is useful when testing various lookup types if you want to unregister the lookup type after the test runs.


test_type (str) – Name of the lookup type to unregister.