diff options
| author | George Kappel | 2012-12-11 09:14:52 -0600 |
|---|---|---|
| committer | George Kappel | 2012-12-11 09:14:52 -0600 |
| commit | 80f15c598afe138df4170ceb2198484889511d0c (patch) | |
| tree | 5312f703bb9d2a6c05bbeb7db98dad911dcc639c /rest_framework/runtests/runtests.py | |
| parent | 80adaecc4307ba802fcb7e45b2f178d2102a41e9 (diff) | |
| download | django-rest-framework-80f15c598afe138df4170ceb2198484889511d0c.tar.bz2 | |
Added depth test
Diffstat (limited to 'rest_framework/runtests/runtests.py')
| -rwxr-xr-x | rest_framework/runtests/runtests.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/rest_framework/runtests/runtests.py b/rest_framework/runtests/runtests.py index 1bd0a5fc..729ef26a 100755 --- a/rest_framework/runtests/runtests.py +++ b/rest_framework/runtests/runtests.py @@ -5,6 +5,11 @@ # http://code.djangoproject.com/svn/django/trunk/tests/runtests.py import os import sys +""" +Need to fix sys path so following works without specifically messing with PYTHONPATH +python ./rest_framework/runtests/runtests.py +""" +sys.path.append(os.path.join(os.path.dirname(__file__), "../..")) os.environ['DJANGO_SETTINGS_MODULE'] = 'rest_framework.runtests.settings' from django.conf import settings |
