From 5274c42ff2027305081aecee692f4887be4678cb Mon Sep 17 00:00:00 2001 From: Gustavo Bernardo Date: Thu, 29 Sep 2016 01:59:18 -0300 Subject: [PATCH] Changed error messages in code to English [Issue: #7] --- core/tests.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/tests.py b/core/tests.py index 266f305..64aea66 100644 --- a/core/tests.py +++ b/core/tests.py @@ -89,7 +89,7 @@ class RegisterUserTestCase(TestCase): } response = self.client.post(self.url, data) - self.assertFormError(response, 'form', 'email', 'Insira um endereço de email válido.') + self.assertFormError(response, 'form', 'email', 'Enter a valid email address.') data = { 'username': '', @@ -102,7 +102,7 @@ class RegisterUserTestCase(TestCase): 'gender': 'F', } response = self.client.post(self.url, data) - self.assertFormError(response, 'form', 'username', 'Este campo é obrigatório.') + self.assertFormError(response, 'form', 'username', 'This field is required.') class RememberPasswordTestCase(TestCase): @@ -194,7 +194,7 @@ class UpdateUserTestCase(TestCase): 'gender': 'F', } response = self.client.post(self.url, data) - self.assertFormError(response, 'form', 'username', 'Este campo é obrigatório.') + self.assertFormError(response, 'form', 'username', 'This field is required.') class DeleteUserTestCase(TestCase): -- libgit2 0.21.2