mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-12-02 12:13:54 +01:00
Test updated
This commit is contained in:
@@ -23,11 +23,11 @@ class ProfileTestCase(ModoTestCase):
|
|||||||
"""
|
"""
|
||||||
self.ajax_post(reverse("core:user_profile"),
|
self.ajax_post(reverse("core:user_profile"),
|
||||||
{"oldpassword": "password",
|
{"oldpassword": "password",
|
||||||
"newpassword": "titi", "confirmation": "titi"})
|
"newpassword": "12345Toi", "confirmation": "12345Toi"})
|
||||||
self.clt.logout()
|
self.clt.logout()
|
||||||
|
|
||||||
self.assertEqual(
|
self.assertEqual(
|
||||||
self.clt.login(username="admin", password="titi"), True
|
self.clt.login(username="admin", password="12345Toi"), True
|
||||||
)
|
)
|
||||||
self.assertEqual(
|
self.assertEqual(
|
||||||
self.clt.login(username="user@test.com", password="toto"), True
|
self.clt.login(username="user@test.com", password="toto"), True
|
||||||
|
|||||||
Reference in New Issue
Block a user