Opened 14 years ago

Closed 14 years ago

Last modified 13 years ago

#14456 closed (fixed)

Convert inline_formsets doctests to unit tests

Reported by: Preston Timmons Owned by: nobody
Component: Testing framework Version: dev
Severity: Keywords: tests
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

Attached is a patch that converts the inline_formsets doctests to unit tests. These changes were tested against trunk 14196 using the sqlite test settings.

Attachments (1)

inline_formsets.diff (4.8 KB ) - added by Preston Timmons 14 years ago.

Download all attachments as: .zip

Change History (6)

by Preston Timmons, 14 years ago

Attachment: inline_formsets.diff added

comment:1 by Jannis Leidel, 14 years ago

Triage Stage: UnreviewedAccepted

comment:2 by Jannis Leidel, 14 years ago

Triage Stage: AcceptedReady for checkin

comment:3 by Alex Gaynor, 14 years ago

Resolution: fixed
Status: newclosed

(In [14212]) Fixed #14456 -- converted inline_formsets tests from doctests to unittests. We have always been at war with doctests. Thanks to prestontimmons for the patch.

comment:4 by Alex Gaynor, 14 years ago

(In [14213]) [1.2.X] Fixed #14456 -- converted inline_formsets tests from doctests to unittests. We have always been at war with doctests. Thanks to prestontimmons for the patch. Backport of [14212].

comment:5 by Jacob, 13 years ago

milestone: 1.3

Milestone 1.3 deleted

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