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