Commit d812257d authored by Valentin Samir's avatar Valentin Samir

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

parent 8a4a4a83
......@@ -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 {}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment