[tests] added project root to PYTHONPATH for the testapp
parent
0e381ebcf7
commit
4cae52ee94
|
|
@ -3,6 +3,8 @@
|
|||
import os
|
||||
import sys
|
||||
|
||||
sys.path.insert(1, os.path.abspath('..'))
|
||||
|
||||
|
||||
def main():
|
||||
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'testapp.settings')
|
||||
|
|
|
|||
Loading…
Reference in New Issue