Skip to content

Commit

Permalink
Add test
Browse files Browse the repository at this point in the history
  • Loading branch information
pierotofy committed Sep 12, 2023
1 parent eda8e1a commit 14aad55
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/tests/test_external_auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -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())

0 comments on commit 14aad55

Please sign in to comment.