mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-08-03 20:10:10 +03:00
Merge 172f0d3328
into c93ddf1750
This commit is contained in:
commit
9c49b44f91
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user