--
Ticket URL: <https://code.djangoproject.com/ticket/21117>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* needs_better_patch: => 0
* needs_tests: => 0
* needs_docs: => 0
Comment:
If I understand correctly, you are running the formtools tests from your
own application which has custom settings. As part of the test runner
changes in Django 1.6, we're not going to support running Django's tests
with arbitrary settings anymore, so I believe we can close this as "won't
fix". Is my understanding correct?
--
Ticket URL: <https://code.djangoproject.com/ticket/21117#comment:1>
Comment (by anonymous):
Yes--but may I ask why that decision was made and how things like the
survey wizard which depend on sessions (and thus potentially the cache)
will be tested with different cache backends (this is just one instance of
the general question).
--
Ticket URL: <https://code.djangoproject.com/ticket/21117#comment:2>
* status: new => closed
* resolution: => wontfix
Comment:
Carl Meyer gave
[https://pycon-2012-notes.readthedocs.org/en/latest/testing_and_django.html
a talk at PyCon 2012] which I just skipped briefly and seems to explain
the rationale. One line from those notes: "Some might argue that we need
integration tests to verify that projects integrate properly with things
like django.contrib.auth, but any tests written in django.contrib.auth
that are not isolated are likely to fail, because there are so many ways
to integrate. And an isolated test is probably just purely testing
django.contrib.auth and projects shouldn’t have to care about that."
My interpretation of that is that if you find a bug with a particular
setup, please file a bug and we can add a test for it using
`override_settings` to ensure the test is always run as part of Django's
test suite with a particular combination of settings.
If you have further concerns, feel free to bring it up on the django-
developers mailing this, thanks!
--
Ticket URL: <https://code.djangoproject.com/ticket/21117#comment:3>