runway.lookups.registry module

Register test handlers.

runway.lookups.registry.register_lookup_handler(lookup_type, handler_or_path)[source]

Register a lookup handler.

Parameters
  • lookup_type – Name to register the handler under

  • handler_or_path – a function or a path to a handler

runway.lookups.registry.unregister_lookup_handler(lookup_type)[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.

Parameters

lookup_type – Name of the lookup type to unregister