diff options
author | Jeremy Kerr <jk@ozlabs.org> | 2014-04-22 21:09:51 +0800 |
---|---|---|
committer | Jeremy Kerr <jk@ozlabs.org> | 2014-04-22 21:09:51 +0800 |
commit | b8c32a2f022890d0ada32b5750b9427607c4c7e1 (patch) | |
tree | 48781009a073b23b12488ee798aa705b2861ea33 | |
parent | 9169b9708271cd46b4448d19226dd326214a3246 (diff) | |
download | patchwork-b8c32a2f022890d0ada32b5750b9427607c4c7e1.tar.bz2 patchwork-b8c32a2f022890d0ada32b5750b9427607c4c7e1.tar.xz |
tests/utils: Don't rely on field error message API
The location of EmailField's message changed in 1.6, just use a fixed
string instead.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
-rw-r--r-- | apps/patchwork/tests/utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/patchwork/tests/utils.py b/apps/patchwork/tests/utils.py index ec6a9ce..3f57baf 100644 --- a/apps/patchwork/tests/utils.py +++ b/apps/patchwork/tests/utils.py @@ -58,7 +58,7 @@ class defaults(object): """ error_strings = { - 'email': EmailField.default_error_messages['invalid'], + 'email': 'Enter a valid email address.', } _user_idx = 1 |