The horizon.test.tests.forms ModuleΒΆ

class horizon.test.tests.forms.FormErrorTests(methodName='runTest')[source]

Bases: horizon.test.helpers.TestCase

setUp()[source]
template = 'horizon/common/_form_fields.html'
test_api_error()[source]
test_set_warning()[source]
class horizon.test.tests.forms.FormMixinTests(methodName='runTest')[source]

Bases: horizon.test.helpers.TestCase

test_modal_form_mixin_add_to_field_header_not_set()[source]
test_modal_form_mixin_add_to_field_header_set()[source]
test_modal_form_mixin_hide_true_if_ajax()[source]
test_template_name_change_based_on_ajax_request()[source]
class horizon.test.tests.forms.TestForm(request, *args, **kwargs)[source]

Bases: horizon.forms.base.SelfHandlingForm

base_fields = {'name': <django.forms.fields.CharField object at 0xa9e1eac>}
handle(request, data)[source]
media