Fix unit test.

see #766
This commit is contained in:
Antoine Nguyen
2015-11-14 14:59:03 +01:00
parent 2ca759531c
commit 4d73d91fce
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -42,7 +42,7 @@ class ProfileTestCase(ModoTestCase):
self.ajax_post(
reverse("core:user_profile"),
{"oldpassword": "toto",
{"language": "en", "oldpassword": "toto",
"newpassword": "Toto1234", "confirmation": "Toto1234"}
)
self.clt.logout()
+1 -1
View File
@@ -9,7 +9,7 @@ from django.utils.translation import ugettext as _
from django.views.decorators.cache import never_cache
from modoboa.core.forms import LoginForm
from modoboa.lib import events, parameters
from modoboa.lib import events
from modoboa.lib.web_utils import _render_to_string