Exclude a should not happen branche from coverage in auth.TestAuthUser.attributs
This commit is contained in:
parent
8a4a4a833f
commit
d812257daa
@ -112,7 +112,7 @@ class TestAuthUser(AuthUser):
|
|||||||
"""
|
"""
|
||||||
if self.username == settings.CAS_TEST_USER:
|
if self.username == settings.CAS_TEST_USER:
|
||||||
return settings.CAS_TEST_ATTRIBUTES
|
return settings.CAS_TEST_ATTRIBUTES
|
||||||
else:
|
else: # pragma: no cover (should not happen)
|
||||||
return {}
|
return {}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user