MCPcopy
hub / github.com/django/django / test_empty_errors_valid_form

Method test_empty_errors_valid_form

tests/test_utils/tests.py:1509–1510  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1507 self.assertFormError(TestForm.invalid(), "field", ["invalid value"])
1508
1509 def test_empty_errors_valid_form(self):
1510 self.assertFormError(TestForm.valid(), "field", [])
1511
1512 def test_empty_errors_valid_form_non_field_errors(self):
1513 self.assertFormError(TestForm.valid(), None, [])

Callers

nothing calls this directly

Calls 2

assertFormErrorMethod · 0.45
validMethod · 0.45

Tested by

no test coverage detected