Opened 14 years ago

Closed 14 years ago

Last modified 13 years ago

#14603 closed (wontfix)

Copy & paste-able unittest output

Reported by: teh Owned by: nobody
Component: Uncategorized Version: dev
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

It's a change to the fail output

FAIL: test_something (project.app.tests.TestClass)

it will print

FAIL: app.TestClass.test_something

The advantage of this is that the latter test "path" can be copy & pasted directly after ./manage.py test.

Attachments (1)

0001-Change-description-for-failed-tests-to-a-copy-paste-.patch (1.2 KB ) - added by teh 14 years ago.

Download all attachments as: .zip

Change History (4)

comment:1 by Alex Gaynor, 14 years ago

Resolution: wontfix
Status: newclosed

The unittest directory is a backport of unittest2, it should never be modified directly. If you'd like this change you should propose it upstream.

comment:2 by teh, 14 years ago

OK thanks - this change makes little sense outside of django. I'll add it to my local patch queue.

comment:3 by Jacob, 13 years ago

milestone: 1.3

Milestone 1.3 deleted

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