Opened 16 years ago
Closed 16 years ago
#9947 closed (wontfix)
Add the current django folder to sys.path when you run tests with runtests.py
Reported by: | David Larlet | Owned by: | David Larlet |
---|---|---|---|
Component: | Uncategorized | Version: | 1.0 |
Severity: | Keywords: | ||
Cc: | Triage Stage: | Unreviewed | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
Just because I felt very stupid when I report that tests are broken on #django-dev a few months (years?) ago: they were run against another installation of Django.
I don't know if it's worth the case but the fix is an oneliner.
Attachments (1)
Change History (3)
by , 16 years ago
Attachment: | patch_django_9947.20090102.diff added |
---|
comment:1 by , 16 years ago
Hmm, I actually make use of the fact that things work as they do now. Download and apply a patch with tests and verify that the new tests fail as expected when run against old code in a different tree. Not that I haven't been bit by having my pythonpath set incorrectly at times...I'm just not sure I'd like it to always automatically use the code in the same tree as the tests.
comment:2 by , 16 years ago
Resolution: | → wontfix |
---|---|
Status: | new → closed |
Like Karen I take advantage of this to run new tests against old code. I think in this rare case the needs of us few maintainers has to override the needs of the many users.
Patch against r9692