#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)
Change History (3)
by , 15 years ago
| Attachment: | 15368.diff added |
|---|
comment:1 by , 15 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
| Triage Stage: | Unreviewed → Ready for checkin |
Note:
See TracTickets
for help on using tickets.
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.