Make standard auth backend tests more reliable

Review Request #7756 — Created Nov. 6, 2015 and submitted

Information

Review Board
release-2.0.x

Reviewers

This patch no longer assumes the StandardAuthBackend is in a
particular place in the list of enabled authentication backends.
Instead, we now iterate through the enabled backends and return the
first one that is an instance of StandardAuthBackend (and not an
instance of a subclass of it).

Ran unit tests.

Description From Last Updated

Should be is.

chipx86chipx86
reviewbot
  1. Tool: Pyflakes
    Processed Files:
        reviewboard/accounts/tests.py
    
    
    
    Tool: PEP8 Style Checker
    Processed Files:
        reviewboard/accounts/tests.py
    
    
  2. 
      
chipx86
  1. 
      
  2. reviewboard/accounts/tests.py (Diff revision 1)
     
     
    Show all issues

    Should be is.

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

Status: Closed (submitted)

Change Summary:

Pushed to release-2.0.x (73d6304)
Loading...