Fix broken invalid formadd test now that record type is from record_type_choices
This commit is contained in:
parent
aa76d59a13
commit
8937154b1d
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue