nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at r-updates 12 lines 558 B view raw
1diff --git a/tests/admin_scripts/tests.py b/tests/admin_scripts/tests.py 2index 0c27194568..37ee505c21 100644 3--- a/tests/admin_scripts/tests.py 4+++ b/tests/admin_scripts/tests.py 5@@ -132,6 +132,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