Fix broken invalid formadd test now that record type is from record_type_choices

This commit is contained in:
Jeffrey Forman 2012-12-02 14:50:48 -05:00
parent aa76d59a13
commit 8937154b1d
1 changed files with 1 additions and 0 deletions

View File

@ -42,6 +42,7 @@ class FormTests(TestCase):
expected_form_errors = {"record_data": [u"Enter a valid IPv4 or IPv6 address."],
"record_name": [u"Enter a valid value."],
"record_type": [u"Select a valid choice. 123 is not one of the available choices."],
"ttl": [u'Select a valid choice. A is not one of the available choices.']}
testform_2 = forms.FormAddRecord(form_data)
testform_2.is_valid()