Opened 5 years ago

Closed 5 years ago

Last modified 4 years ago

#14456 closed (fixed)

Convert inline_formsets doctests to unit tests

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

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 prestontimmons 5 years ago.

Download all attachments as: .zip

Change History (6)

Changed 5 years ago by prestontimmons

comment:1 Changed 5 years ago by jezdez

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Accepted

comment:2 Changed 5 years ago by jezdez

  • Triage Stage changed from Accepted to Ready for checkin

comment:3 Changed 5 years ago by Alex

  • Resolution set to fixed
  • Status changed from new to closed

(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 Changed 5 years ago by Alex

(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 Changed 4 years ago by jacob

  • milestone 1.3 deleted

Milestone 1.3 deleted

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