Opened 8 years ago

Closed 8 years ago

#14699 closed Cleanup/optimization (fixed)

FormWizard tests are scattered between two test modules

Reported by: Luke Plant Owned by: nobody
Component: Testing framework Version: 1.2
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


Tests for these classes are found in regressiontests/formwizard and in django/contrib/formtools/tests with significant overlap, which appears to be an accident - from [10316] it seems that Jacob didn't realise that there were already some FormWizard tests added in [8603].

All the tests should be moved to django/contrib/formtools to make it easy to find them.

The only difficult thing is deciding how to merge them - they overlap significantly. It is probably best to:

  • copy some of the details of the regressiontests/ to the contrib tests (the NullBooleanField is required to check #9473)
  • bulk out the contrib tests to do a complete walk-though like the regressiontests.

Change History (3)

comment:1 Changed 8 years ago by rasca

Triage Stage: UnreviewedAccepted

Confirmed and accepting the ticket.

comment:2 Changed 8 years ago by James Addison

Severity: Normal
Type: Cleanup/optimization

comment:3 Changed 8 years ago by Ramiro Morales

Easy pickings: unset
Resolution: fixed
Status: newclosed

Fixed in [16307].

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