#16681: modeltests.invalid_models tests are a weird special case
-------------------------------------------+-------------------------------
Reporter: anthonyb | Owner: nobody
Type: Cleanup/optimization | Status: new
Milestone: | Component: Testing
Version: 1.3 | framework
Keywords: invalid models invalid_models | Severity: Normal
Has patch: 1 | Triage Stage: Unreviewed
UI/UX: 0 | Easy pickings: 0
-------------------------------------------+-------------------------------
The test application in modeltests.invalid_models is broken, so there's a
bunch of special case handling in the test runner to avoid
importing/running it, as well as a top level unittest.TestCase class. It
also means that you can't specifically run the invalid_models test, and
have to run them as part of the whole suite.
Attached is a patch which pushes the broken app down into a subdirectory,
and removes ~60 special case lines from runtests.py.
--
Ticket URL: <https://code.djangoproject.com/ticket/16681>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.