Code

Opened 4 years ago

Closed 4 years ago

#14260 closed (fixed)

conversion of fixtures_regress tests from doctest to unittest format

Reported by: dbrenneman Owned by: russelm
Component: Testing framework Version: 1.2
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

The fixtures_regress test suite are currently in doctest format, they should be unittest format.

Attachments (0)

Change History (3)

comment:1 Changed 4 years ago by lukeplant

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset

There are many other examples, and there is currently a Google SOC project to address these and other things.

(The best way I've found to keep track of what has happened is to checkout the github or bitbucket 'django / django' mirrors, and the look at the log of 'soc2010/test-refactor' branch).

comment:2 Changed 4 years ago by dbrenneman

  • Owner changed from dbrenneman to russelm

I have created a branch on github with unittests to replace the fixtures_regress doctests here:
http://github.com/dbrenneman/django/compare/fixtures-unittests

comment:3 Changed 4 years ago by russellm

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

Fixed in [13954] ([13959] for 1.2.X)

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.