Fix AuthBackend unregistration
Review Request #8286 — Created July 12, 2016 and submitted — Latest diff uploaded
The refactoring of the AuthBackend code to use a registry mistakenly
usedRegistry.unregister_item()
, which wasn't the method name that
was decided on (Registry.unregister()
). This has been fixed and unit
tests have been added to ensure registration and unregistration through
theregister_auth_backend
andunregister_auth_backend
methods works
correctly.In addition, the
AuthBackendRegistry.get
method was removed becuase
theAuthBackendRegistry
already inherits from
ExceptionFreeGetterMixin
, which provides the same behaviour.
Ran unit tests.