at master 552 B view raw
1diff --git a/tests/admin_scripts/tests.py b/tests/admin_scripts/tests.py 2index 7f39d7f..b5b0ae7 100644 3--- a/tests/admin_scripts/tests.py 4+++ b/tests/admin_scripts/tests.py 5@@ -126,6 +126,7 @@ class AdminScriptTestCase(SimpleTestCase): 6 del test_environ["DJANGO_SETTINGS_MODULE"] 7 python_path = [base_dir, django_dir, tests_dir] 8 python_path.extend(ext_backend_base_dirs) 9+ python_path.extend(sys.path) 10 test_environ["PYTHONPATH"] = os.pathsep.join(python_path) 11 test_environ["PYTHONWARNINGS"] = "" 12