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.