Unverified Commit 1fd99886 authored by Enrico Zini's avatar Enrico Zini
Browse files

Sync signon tweaks with nm.debian.org

parent 041321a6
Pipeline #217646 passed with stage
in 1 minute and 41 seconds
......@@ -49,7 +49,7 @@ use. For example:
```py
class SignonMixin(DCLayoutMixin):
"""
Mixin for signon views
Mixin for signon views
"""
def get_context_data(self, **kw):
ctx = super().get_context_data(**kw)
......
......@@ -194,7 +194,8 @@ class TestAuthentication(SignonFixtureMixin, TestCase):
}
with mock.patch("signon.middleware.SignonMiddleware._instantiate_identities", _instantiate_identities2):
response = client.get(reverse('signon:whoami'))
with self.assertLogs():
response = client.get(reverse('signon:whoami'))
self.assertEqual(response.status_code, 200)
......
Supports Markdown
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