From 8937154b1dbf8a278a483e7709f9998ea64e8347 Mon Sep 17 00:00:00 2001 From: Jeffrey Forman Date: Sun, 2 Dec 2012 14:50:48 -0500 Subject: [PATCH] Fix broken invalid formadd test now that record type is from record_type_choices --- binder/tests/forms.py | 1 + 1 file changed, 1 insertion(+) diff --git a/binder/tests/forms.py b/binder/tests/forms.py index 485b2cc..3d8e903 100644 --- a/binder/tests/forms.py +++ b/binder/tests/forms.py @@ -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()