#32655: Improve error if a string is passed as an extra_test to
DiscoverRunner.build_suite()
-------------------------------------+-------------------------------------
Reporter: Chris Jerdonek | Owner: nobody
Type: | Status: new
Cleanup/optimization |
Component: Testing framework | Version: 4.0
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
iter_test_cases,DiscoverRunner,extra_tests|
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Chris Jerdonek):
Thanks. A couple thoughts: Before deprecating `extra_tests`, we might want
to think through what the alternative escape hatch is for users that might
want to add tests not currently available via discovery. Though
`iter_test_cases()` is an internal function, having the extra check could
still help to avoid some puzzling moments.
--
Ticket URL: <https://code.djangoproject.com/ticket/32655#comment:5>
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 view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/067.592a6eafe0f6aa5379af09da338ebd6b%40djangoproject.com.