Modified runtests.py to use HAS_SPATIAL_DB rather than the geodjango function.