runtests.py should reference the checkout it is part of
|Reported by:||termie||Owned by:||nobody|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
At current runtests.py attempts to test the first installation of django it finds on the path, which, without any modifications, will generally mean it tests the version of django installed on the system rather than the local checkout.
My argument is that there is very little reason for runtests.py to test anything other than the local checkout it is part of.
The easiest solution would appear to be to prepend "../" to sys.path at the beginning of the script if it is run from the tests directory.
Change History (4)
comment:1 Changed 5 years ago by russellm
- Needs documentation unset
- Needs tests unset
- Patch needs improvement unset
- Triage Stage changed from Unreviewed to Accepted
comment:3 Changed 5 years ago by russellm
- Resolution set to wontfix
- Status changed from new to closed