Exclude a should not happen branche from coverage in auth.TestAuthUser.attributs

This commit is contained in:
Valentin Samir 2016-07-20 18:52:11 +02:00
parent 8a4a4a833f
commit d812257daa
1 changed files with 1 additions and 1 deletions

View File

@ -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 {}