plugins.set_registry

plugins.set_registry(new)

Install new as the process-wide registry, returning the old one.

None clears it, so the next :func:registry call rebuilds from the environment. Tests use this to point cadjoint at a served plugin without touching the user’s config.