Opened 17 years ago

Closed 11 years ago

#6103 closed Cleanup/optimization (fixed)

tests/model_forms/tests.py could use some rewriting

Reported by: Malcolm Tredinnick Owned by: Claude Paroz
Component: Forms Version: dev
Severity: Normal Keywords:
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

As noted at the top of this test file, the ModelForms implementation mostly ported the old form_for_* tests. It would be good if somebody could rewrite those tests to be a little more relevant (and illustrative) of model forms' capabilities. Some of them currently don't quite make sense.

Change History (10)

comment:1 by Malcolm Tredinnick, 17 years ago

Triage Stage: UnreviewedAccepted

comment:2 by Gabriel Hurley, 13 years ago

Severity: Normal
Type: Cleanup/optimization

comment:3 by Aymeric Augustin, 13 years ago

UI/UX: unset

Change UI/UX from NULL to False.

comment:4 by Aymeric Augustin, 13 years ago

Easy pickings: unset

Change Easy pickings from NULL to False.

comment:5 by bharadwajdes, 12 years ago

Owner: changed from nobody to bharadwajdes
Status: newassigned

comment:6 by bharadwajdes, 12 years ago

Please let me know any specific changes to be addressed here.

comment:7 by bharadwajdes, 11 years ago

Owner: bharadwajdes removed
Status: assignednew

comment:8 by Tim Graham, 11 years ago

Summary: modeltests/model_forms/models.py could do with some rewritingtests/model_forms/tests.py could use some rewriting

comment:9 by Claude Paroz, 11 years ago

Owner: set to Claude Paroz
Status: newassigned

comment:10 by Claude Paroz <claude@…>, 11 years ago

Resolution: fixed
Status: assignedclosed

In 72cfbdc10ab53ee9a3a9f253f38e9919728c0813:

Fixed #6103 -- Splitted tests in model_forms tests

Note: See TracTickets for help on using tickets.
Back to Top