If you run the tests again you then need to type 'yes' to tear down the
old database before it can continue.
Have the patch and a test created.
--
Ticket URL: <https://code.djangoproject.com/ticket/29866>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* owner: nobody => Jayden Kneller
--
Ticket URL: <https://code.djangoproject.com/ticket/29866#comment:1>
* needs_better_patch: 0 => 1
* stage: Unreviewed => Accepted
* type: Uncategorized => Bug
Comment:
[https://github.com/django/django/pull/10528 PR] (with comments for
improvement). Please uncheck "Patch needs improvement" when it's ready for
review again.
--
Ticket URL: <https://code.djangoproject.com/ticket/29866#comment:2>
* needs_better_patch: 1 => 0
--
Ticket URL: <https://code.djangoproject.com/ticket/29866#comment:3>
Comment (by Jayden Kneller):
This can be reviewed again. I unchecked the Patch needs improvement
checkbox as instructed.
--
Ticket URL: <https://code.djangoproject.com/ticket/29866#comment:4>
* stage: Accepted => Ready for checkin
Comment:
Looks good minus the minor naming tweaks.
--
Ticket URL: <https://code.djangoproject.com/ticket/29866#comment:5>
Comment (by Jayden Kneller):
Just committed your test class name, comment, and doc string changes.
The reason for the class name was because I saw
"Ticket17477RegressionTests" in the same tests file and thought that was
the way to do tickets.
I read through a few pages on the site before doing anything but I'm not
sure I saw anything about naming or wording. I did see the past tense
commit messages. Maybe a little wording/naming guideline would help.
Perhaps somewhere near this section on this page:
https://docs.djangoproject.com/en/2.1/internals/contributing/committing-
code/#committing-guidelines
--
Ticket URL: <https://code.djangoproject.com/ticket/29866#comment:6>
Comment (by Jayden Kneller):
Or perhaps on this page:
https://docs.djangoproject.com/en/2.1/internals/contributing/writing-code
/submitting-patches/
--
Ticket URL: <https://code.djangoproject.com/ticket/29866#comment:7>
Comment (by Jayden Kneller):
It was pointed out to me by someone here that there is a line about
docstrings which mentions what you said on this page:
https://docs.djangoproject.com/en/2.1/internals/contributing/writing-code
/coding-style/
I didn't realize it would be part of that page and missed reading it.
--
Ticket URL: <https://code.djangoproject.com/ticket/29866#comment:8>
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"916aecd29d5e3c5e02b620fbd38eac6d61ce6a5d" 916aecd]:
{{{
#!CommitTicketReference repository=""
revision="916aecd29d5e3c5e02b620fbd38eac6d61ce6a5d"
Fixed #29866 -- Made DiscoverRunner do tests tear down if running checks
or tests raises an exception.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/29866#comment:9>