#22068: Trailing slash after some test suites leads to test failure
-------------------------------------+-------------------------------------
Reporter: MattBlack | Owner:
Type: Bug | akshay1994.leo
Component: Testing framework | Status: closed
Severity: Normal | Version: master
Keywords: | Resolution: fixed
Has patch: 1 | Triage Stage: Accepted
Needs tests: 0 | Needs documentation: 0
Easy pickings: 0 | Patch needs improvement: 0
| UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Tim Graham <timograham@…>):
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"68efbfde5e35013c14c0c30cabb1c94b80a48807"]:
{{{
#!CommitTicketReference repository=""
revision="68efbfde5e35013c14c0c30cabb1c94b80a48807"
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.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/22068#comment:13>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/067.598c285bfd48c2bb036287c504405c4c%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.