From af3321a1e80eece49bd934b4f03f9c4ddd702767 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Langa?= Date: Wed, 27 Feb 2013 23:23:27 +0100 Subject: [PATCH] use the real path to fix OS X /var/folders vs. /private/var/folders mismatch --- tests/admin_scripts/tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/admin_scripts/tests.py b/tests/admin_scripts/tests.py index 64c0105539..42595982d9 100644 --- a/tests/admin_scripts/tests.py +++ b/tests/admin_scripts/tests.py @@ -26,7 +26,7 @@ from django.utils.six import StringIO from django.test import LiveServerTestCase -test_dir = os.path.join(os.environ['DJANGO_TEST_TEMP_DIR'], 'test_project') +test_dir = os.path.realpath(os.path.join(os.environ['DJANGO_TEST_TEMP_DIR'], 'test_project')) if not os.path.exists(test_dir): os.mkdir(test_dir) open(os.path.join(test_dir, '__init__.py'), 'w').close()