From d812257daa51945b8bdfef9d33530cb3175eb063 Mon Sep 17 00:00:00 2001 From: Valentin Samir Date: Wed, 20 Jul 2016 18:52:11 +0200 Subject: [PATCH] Exclude a should not happen branche from coverage in auth.TestAuthUser.attributs --- cas_server/auth.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cas_server/auth.py b/cas_server/auth.py index 2cb0880..31aa4f2 100644 --- a/cas_server/auth.py +++ b/cas_server/auth.py @@ -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 {}