#25415: Django 1.8 regression: tests no longer run checks
-----------------------------------+------------------------------------
Reporter: adamchainz | Owner: nobody
Type: Bug | Status: new
Component: Testing framework | Version: 1.8
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1
Easy pickings: 0 | UI/UX: 0
-----------------------------------+------------------------------------
Comment (by carljm):
I don't know how much it matters if the check is registered in an
`AppConfig.ready`, but have you checked to make sure that test fails
currently without the code changes? It seems like a bit of a fragile test
- if anything in the test suite prior to this point causes checks to run,
the test will pass regardless of whether the test runner actually runs
checks.
Personally I'd lean towards a more reliable lower-level unit test of the
runner, but that would be more work to write (and might require some
mocking).
--
Ticket URL: <https://code.djangoproject.com/ticket/25415#comment:7>
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/068.ce6956b7c1ce44333edf151dfd01b41b%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.