mirror of
https://github.com/ae-utbm/sith.git
synced 2026-10-30 22:29:32 +00:00
Make core.User inherit from AbstractUser instead of AbstractBaseUser
This commit is contained in:
1 parent
8d6609566f
commit
8c660e9856
20 files changed
+215
-212
No files matched your search
@@ -118,7 +118,9 @@ class TestUserRegistration:
|
||||
response = client.post(reverse("core:register"), valid_payload)
|
||||
|
||||
assert response.status_code == 200
|
||||
error_html = "<li>Un objet User avec ce champ Adresse email existe déjà.</li>"
|
||||
error_html = (
|
||||
"<li>Un objet Utilisateur avec ce champ Adresse email existe déjà.</li>"
|
||||
)
|
||||
assertInHTML(error_html, str(response.content.decode()))
|
||||
|
||||
def test_register_fail_with_not_existing_email(
|
||||
|
||||
Reference in new issue
Block a user