Fix unit tests for the auth backend registry

Review Request #8357 — Created Aug. 26, 2016 and submitted

Information

Review Board
release-3.0.x
450943c...

Reviewers

The tests for the AuthBackendRegistry were incorrectly assuming only
that StandardAuthBackend would be registered, when in actuality all
backends listed in the set of reviewboard.auth.backends entrypoint
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.

reviewbot
  1. Tool: Pyflakes
    Processed Files:
        reviewboard/accounts/tests.py
    
    
    
    Tool: PEP8 Style Checker
    Processed Files:
        reviewboard/accounts/tests.py
    
    
  2. 
      
david
  1. Ship It!
  2. 
      
brennie
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to release-3.0.x (450943c), release-3.0.x (c081865), release-3.0.x (c1e7f99)
Loading...