[django/django] 68efbf: Fixed #22068 -- Made runtests.py remove trailing s...

3 views
Skip to first unread message

GitHub

unread,
Jun 11, 2014, 11:37:27 AM6/11/14
to django-...@googlegroups.com
Branch: refs/heads/master
Home: https://github.com/django/django
Commit: 68efbfde5e35013c14c0c30cabb1c94b80a48807
https://github.com/django/django/commit/68efbfde5e35013c14c0c30cabb1c94b80a48807
Author: Preston Timmons <preston...@gmail.com>
Date: 2014-06-11 (Wed, 11 Jun 2014)

Changed paths:
M tests/runtests.py

Log Message:
-----------
Fixed #22068 -- Made runtests.py remove trailing slashes from test labels.

When using tab-completion it's easy to accidentally run a test with
a trailing slash, which causes INSTALLED_APPS to be set incorrectly.
Normalize the test labels to avoid this common error.

Thanks MattBlack for the suggestion.


Reply all
Reply to author
Forward
0 new messages