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_backendandunregister_auth_backendmethods works
correctly.In addition, the
AuthBackendRegistry.getmethod was removed becuase
theAuthBackendRegistryalready inherits from
ExceptionFreeGetterMixin, which provides the same behaviour.
Ran unit tests.