Make standard auth backend tests more reliable
Review Request #7756 — Created Nov. 6, 2015 and submitted — Latest diff uploaded
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 ofStandardAuthBackend
(and not an
instance of a subclass of it).
Ran unit tests.