This commit is contained in:
Miro Hrončok 2014-04-15 13:50:19 +00:00
commit 9c49b44f91
2 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@ import os
import sys
# fix sys path so we don't need to setup PYTHONPATH
sys.path.append(os.path.join(os.path.dirname(__file__), "../.."))
sys.path = [os.path.join(os.path.dirname(__file__), "../..")] + sys.path
os.environ['DJANGO_SETTINGS_MODULE'] = 'rest_framework.runtests.settings'
from coverage import coverage

View File

@ -7,7 +7,7 @@ import os
import sys
# fix sys path so we don't need to setup PYTHONPATH
sys.path.append(os.path.join(os.path.dirname(__file__), "../.."))
sys.path = [os.path.join(os.path.dirname(__file__), "../..")] + sys.path
os.environ['DJANGO_SETTINGS_MODULE'] = 'rest_framework.runtests.settings'
import django