diff --git a/app/tests/test_external_auth.py b/app/tests/test_external_auth.py index 2928bebd7..1056bf17b 100644 --- a/app/tests/test_external_auth.py +++ b/app/tests/test_external_auth.py @@ -46,3 +46,6 @@ def test_ext_auth(self): # Re-test login ok = client.login(username='extuser1', password='test1234') self.assertTrue(ok) + + # Check that the user has been added to the default group + self.assertTrue(user.groups.filter(name='Default').exists())