]> git.ozlabs.org Git - patchwork/commit
tests: Use strings from fields module for error tests
authorJeremy Kerr <jk@ozlabs.org>
Sun, 13 Oct 2013 06:49:06 +0000 (14:49 +0800)
committerJeremy Kerr <jk@ozlabs.org>
Sun, 13 Oct 2013 06:49:06 +0000 (14:49 +0800)
commit6ea54166123c6f839af02bd8efb16b33e78acd3c
tree921f2a935e48670bb6602202ecbf935cba151f2e
parenta37842591183a2302f580ee4973a19e35661baf0
tests: Use strings from fields module for error tests

Rather than hard-coding expected error messages, grab the values from
the fields module, and expose through the test utils.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
apps/patchwork/tests/mail_settings.py
apps/patchwork/tests/user.py
apps/patchwork/tests/utils.py