Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#15638 closed (fixed)

unittest.TestCase subclasses can't be run individually

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

Description

Trying to run manage.py test someapp.MyTest doesn't work any more if it's a subclass of unittest.TestCase, since Django now only considers it a test if it's a subclass of the newly included unittest2 module

Attachments (1)

15368.diff (748 bytes ) - added by Chris Beaven 13 years ago.

Download all attachments as: .zip

Change History (3)

by Chris Beaven, 13 years ago

Attachment: 15368.diff added

comment:1 by Russell Keith-Magee, 13 years ago

Resolution: fixed
Status: newclosed
Triage Stage: UnreviewedReady for checkin

In [15876]:

Fixed #15638 -- Ensure that raw unittest TestCase? instances can be invoked individually by the test runner. Thanks to SmileyChris? for the report and patch.

comment:2 by Jacob, 13 years ago

milestone: 1.3

Milestone 1.3 deleted

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