Code

Opened 4 years ago

Closed 4 years ago

Last modified 3 years ago

#14603 closed (wontfix)

Copy & paste-able unittest output

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

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 4 years ago.

Download all attachments as: .zip

Change History (4)

comment:1 Changed 4 years ago by Alex

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution set to wontfix
  • Status changed from new to closed

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

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

comment:3 Changed 3 years ago by jacob

  • milestone 1.3 deleted

Milestone 1.3 deleted

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.