Fix unit tests for the auth backend registry
Review Request #8357 — Created Aug. 26, 2016 and submitted
The tests for the AuthBackendRegistry were incorrectly assuming only
thatStandardAuthBackendwould be registered, when in actuality all
backends listed in the set ofreviewboard.auth.backendsentrypoint
would be registered. Instead of comparing against
{StandardAuthBackend}, we compute the set of registered auth backends
before performing registration and unregistration operations on the
registry.
Ran unit tests.
Tool: Pyflakes Processed Files: reviewboard/accounts/tests.py Tool: PEP8 Style Checker Processed Files: reviewboard/accounts/tests.py