#16342: Django unittests run against install django by default (rather than the
checkout)
-------------------+-----------------------------------
Reporter: soren | Owner: nobody
Type: Bug | Status: new
Milestone: | Component: Testing framework
Version: 1.3 | Severity: Normal
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Easy pickings: 0
UI/UX: 0 |
-------------------+-----------------------------------
By default, tests/runtests.py will import various things from "django".
This means that if you're lucky, you don't have a Django install in your
standard PYTHONPATH and you'll get an error, realise the error of your
ways, and you can amend your PYTHONPATH. If you're less lucky, runtests.py
will happily import the *installed* django, and you will get very, very
confused why tests are passing even though you know you broke something.
--
Ticket URL: <https://code.djangoproject.com/ticket/16342>
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.