Ticket #16342: set_the_pythonpath.patch
File set_the_pythonpath.patch, 484 bytes (added by , 13 years ago) |
---|
-
tests/runtests.py
1 1 #!/usr/bin/env python 2 2 import os, subprocess, sys 3 3 4 # This needs to happen before we import anything from django. 5 parent_dir = os.path.abspath(os.path.join(os.path.dirname(__file__), '..')) 6 sys.path.insert(0, parent_dir) 7 4 8 import django.contrib as contrib 5 9 from django.utils import unittest 6 10