1
0
mirror of https://gitlab.com/animath/si/plateforme-corres2math.git synced 2025-08-21 16:47:22 +02:00

Display user list

This commit is contained in:
Yohann D'ANELLO
2020-12-11 14:06:08 +01:00
parent 10115a0419
commit dbcf15c4f3
6 changed files with 113 additions and 78 deletions

View File

@@ -203,6 +203,13 @@ class TestRegistration(TestCase):
response = self.client.get(reverse("registration:user_detail", args=(self.user.pk,)))
self.assertEqual(response.status_code, 200)
def test_user_list(self):
"""
Display the list of all users.
"""
response = self.client.get(reverse("registration:user_list"))
self.assertEqual(response.status_code, 200)
def test_update_user(self):
"""
Update the user information, for each type of user.